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 larry, ncoghlan, yselivanov
Date 2014-02-19.13:29:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392816582.23.0.536452182338.issue20684@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch moves the signature to an internal helper that takes an additional flag - whether or not to follow wrapper chains. getfullargspec() now calls this with the flag turned off, and that is passed down to any recursive calls.

I'll be offline again until tomorrow evening, so don't feel obliged to wait for me if the patch looks good or just needs minor tweaks before merging.

I also noticed a quirk with the getfullargspec -> signature fallback - we still drop the leading arg for partialmethod and other sources of signatures that aren't special cased. That's probably OK though - previously those wouldn't report signatures at all.
History
Date User Action Args
2014-02-19 13:29:42ncoghlansetrecipients: + ncoghlan, larry, yselivanov
2014-02-19 13:29:42ncoghlansetmessageid: <1392816582.23.0.536452182338.issue20684@psf.upfronthosting.co.za>
2014-02-19 13:29:42ncoghlanlinkissue20684 messages
2014-02-19 13:29:41ncoghlancreate