homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients flox
Date 2012年04月17日.21:28:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334698096.33.0.253940616413.issue14607@psf.upfronthosting.co.za>
In-reply-to
Content
This is probably a bug.
>>> class A:
... def f(self, __a=42):
... pass
... 
>>> A().f()
>>> class A:
... def f(self, *, __a=42):
... pass
... 
>>> A().f()
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
TypeError: f() needs keyword-only argument _A__a
History
Date User Action Args
2012年04月17日 21:28:16floxsetrecipients: + flox
2012年04月17日 21:28:16floxsetmessageid: <1334698096.33.0.253940616413.issue14607@psf.upfronthosting.co.za>
2012年04月17日 21:28:15floxlinkissue14607 messages
2012年04月17日 21:28:15floxcreate

AltStyle によって変換されたページ (->オリジナル) /