Author larry
Recipients brett.cannon, larry, ncoghlan, yselivanov
Date 2014-01-19.22:42:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390171373.75.0.753120726654.issue20308@psf.upfronthosting.co.za>
In-reply-to
Content
__new__ and __init__ methods are very special.  They can't have signatures, because the mechanism we use to store the signatures won't work.  (We hide them as a special first line of the docstring, and __new__ and __init__ can't have custom docstrings.)

In my next patch for #20189,

inspect.signature(object)

will return a valid signature object.  But

class C: pass
inspect.signature(C)

still fails in that branch.
History
Date User Action Args
2014-01-19 22:42:53larrysetrecipients: + larry, brett.cannon, ncoghlan, yselivanov
2014-01-19 22:42:53larrysetmessageid: <1390171373.75.0.753120726654.issue20308@psf.upfronthosting.co.za>
2014-01-19 22:42:53larrylinkissue20308 messages
2014-01-19 22:42:53larrycreate