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 ncoghlan
Recipients ncoghlan
Date 2013-03-04.15:11:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362409892.83.0.717786566871.issue17352@psf.upfronthosting.co.za>
In-reply-to
Content
The docs on __prepare__ don't make it clear that it should be a staticmethod, and the error message if you forget is not obvious at all. (This is particularly so, since the examples in PEP 3115 had it as an ordinary method).
History
Date User Action Args
2013-03-04 15:11:32ncoghlansetrecipients: + ncoghlan
2013-03-04 15:11:32ncoghlansetmessageid: <1362409892.83.0.717786566871.issue17352@psf.upfronthosting.co.za>
2013-03-04 15:11:32ncoghlanlinkissue17352 messages
2013-03-04 15:11:32ncoghlancreate