Message211614
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. |
|
Date |
User |
Action |
Args |
2014-02-19 13:29:42 | ncoghlan | set | recipients:
+ ncoghlan, larry, yselivanov |
2014-02-19 13:29:42 | ncoghlan | set | messageid: <1392816582.23.0.536452182338.issue20684@psf.upfronthosting.co.za> |
2014-02-19 13:29:42 | ncoghlan | link | issue20684 messages |
2014-02-19 13:29:41 | ncoghlan | create | |
|