Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5481
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chris@rebertia.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'debug': 0.03; 'instance': 0.05; 'python:': 0.05; 'initialize': 0.07; 'received:209.85.213.46': 0.07; 'received:mail- yw0-f46.google.com': 0.07; 'python': 0.07; 'sun,': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'explanation': 0.16; 'subject:() ': 0.16; 'url:revision': 0.16; 'url:svn': 0.16; 'posting': 0.18; 'figure': 0.18; 'fine': 0.18; 'trace': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'cheers,': 0.20; 'maybe': 0.21; 'help.': 0.22; 'code': 0.22; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; "haven't": 0.23; 'received:209.85.213': 0.23; 'url:view': 0.24; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'looks': 0.28; 'problem': 0.29; 'variables': 0.29; 'all.': 0.30; 'cc:addr:python.org': 0.31; 'actual': 0.31; 'perhaps': 0.32; "isn't": 0.34; 'using': 0.34; 'there': 0.35; 'causing': 0.35; 'doing': 0.36; 'running': 0.36; 'problem.': 0.36; 'received:209.85': 0.37; 'url:python': 0.37; 'run': 0.37; 'received:google.com': 0.38; 'but': 0.38; 'url:org': 0.38; 'earlier': 0.39; 'under': 0.39; 'subject: (': 0.39; 'received:209': 0.39; 'would': 0.40; "it's": 0.40; 'header:Received:5': 0.40; 'order': 0.61; '2011': 0.62; 'website': 0.66; 'case;': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=I1Tg5kzt6bPk92W32ssLlERGWi+EXIpi2RH1YF8/oII=; b=cnHqRQ0skt9m6OgbYpWPhrcDBua1yGdMBqn8PMfpOsHPb+JdED2cuaGelAWgkc8pLL pitVEQ09V8GukTv9Rdb0PyffTOWPghVCzqUQwJWjOfzKh1qFHVbOXPEb9kDzsgzyX4LX p9WCc3OukmR45T9Dp9nvHyr6xA2mAPttXYuoQ= |
| DomainKey-Signature | a=rsa-sha1; c=nofws; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=OWVn+P2nepGNW4YhUgU5NWfMX7/pdFJmzJhGeNaM5x+jGoCWaglK8MLi7gEeu0vdkX Smw+/eyegsxhPXoGQ2xH+LCNWIeMWEpE2GVE4lKub4aI50geR0t3RDwHehhbOaTklwss DrT4os8FH2hW7Pokr/s5RVj1g2qD+Qy67fSGg= |
| MIME-Version | 1.0 |
| Sender | chris@rebertia.com |
| In-Reply-To | <70608e59-3316-44ce-9d98-2b170d497839@z15g2000prn.googlegroups.com> |
| References | <fb474512-8d88-424b-b7ef-01e20d04478e@h36g2000pro.googlegroups.com> <mailman.1618.1305519199.9059.python-list@python.org> <70608e59-3316-44ce-9d98-2b170d497839@z15g2000prn.googlegroups.com> |
| Date | Sun, 15 May 2011 21:44:23 -0700 |
| X-Google-Sender-Auth | -f-VbSTw7_xyyEp4SaG-RXv2pKM |
| Subject | Re: TypeError: __init__() takes exactly 1 positional argument (2 given) |
| From | Chris Rebert <clp2@rebertia.com> |
| To | Gnarlodious <gnarlodious@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1620.1305521071.9059.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1305521071 news.xs4all.nl 81478 [::ffff:82.94.164.166]:36922 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:5481 |
Show key headers only | View raw
On Sun, May 15, 2011 at 9:30 PM, Gnarlodious <gnarlodious@gmail.com> wrote: > I don't have a trace because I am using mod_wsgi under Apache. Maybe > there is a way to debug using mod_wsgi but I haven't been able to > figure out how. > > My problem is that in order to run mod_wsgi I had to downgrade to > Python 3.1.3 which may be causing the problem. This website was > running fine in Py3.2. > > I did find an explanation that sounds like this is an intentional > deprecation in Python: > <http://stackoverflow.com/questions/625083/python-init-and-self-what- > do-they-do> > <http://svn.python.org/view?revision=54539&view=revision> > > It looks like we are now expected to initialize instance variables > with a setter statement? Er, what are you talking about? That's always been the case; it's nothing new at all. Perhaps your "# do stuff" from earlier isn't doing the right stuff? Posting the actual code would help. Cheers, Chris -- http://rebertia.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
TypeError: __init__() takes exactly 1 positional argument (2 given) Gnarlodious <gnarlodious@gmail.com> - 2011-05-15 20:53 -0700
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) harrismh777 <harrismh777@charter.net> - 2011-05-15 22:59 -0500
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Chris Rebert <clp2@rebertia.com> - 2011-05-15 21:10 -0700
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-15 22:12 -0600
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Gnarlodious <gnarlodious@gmail.com> - 2011-05-15 21:30 -0700
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Chris Rebert <clp2@rebertia.com> - 2011-05-15 21:44 -0700
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Gnarlodious <gnarlodious@gmail.com> - 2011-05-15 21:53 -0700
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-15 22:54 -0600
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Gnarlodious <gnarlodious@gmail.com> - 2011-05-15 22:08 -0700
Re: TypeError: __init__() takes exactly 1 positional argument (2 given) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-16 04:31 +0000
csiph-web