Author yselivanov
Recipients larry, ncoghlan, yselivanov
Date 2014-02-21.00:23:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392942209.55.0.970182044944.issue20710@psf.upfronthosting.co.za>
In-reply-to
Content
Larry, I think you can use undocumented and private (but still heavily tested) 'inspect._signature_internal(skip_bound_arg=False)', instead of signature.  That will give you a Signature object with 'self' parameter always included.

And in 3.5 we'll probably make this option (renamed, hopefully), public, and switch pydoc to use new API again.

What do you think?
History
Date User Action Args
2014-02-21 00:23:29yselivanovsetrecipients: + yselivanov, ncoghlan, larry
2014-02-21 00:23:29yselivanovsetmessageid: <1392942209.55.0.970182044944.issue20710@psf.upfronthosting.co.za>
2014-02-21 00:23:29yselivanovlinkissue20710 messages
2014-02-21 00:23:29yselivanovcreate