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 larry
Recipients barry, brett.cannon, gvanrossum, larry, meador.inge, ncoghlan, skrah, tim.peters, yselivanov, zach.ware
Date 2014年01月24日.10:34:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390559649.29.0.300272436162.issue20189@psf.upfronthosting.co.za>
In-reply-to
Content
> Note that tp_new is a static method, not a class method (the type
> creation machinery takes care of passing in the right class rather
> than the descriptor machinery)
I admit I didn't know that.
But from a practical perspective, surely you agree that tp_new walks and quacks like a class method? That I, as an author of an extension type, should think of it as such?
History
Date User Action Args
2014年01月24日 10:34:09larrysetrecipients: + larry, gvanrossum, tim.peters, barry, brett.cannon, ncoghlan, skrah, meador.inge, zach.ware, yselivanov
2014年01月24日 10:34:09larrysetmessageid: <1390559649.29.0.300272436162.issue20189@psf.upfronthosting.co.za>
2014年01月24日 10:34:09larrylinkissue20189 messages
2014年01月24日 10:34:09larrycreate

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