Message209469
> There's a major difference between getfullargspec/getargspec and inspect.signature: getfullargspec shows you the "self" parameter for bound methods, and inspect.signature does not.
Larry, yes, that's correct. The attached patch simulates this behaviour, with:
if ismethod(func):
func = func.__func__
I'm attaching 'getargsspec_03.patch', as the previous one (02) was a bit crippled. |
|
Date |
User |
Action |
Args |
2014-01-27 19:34:29 | yselivanov | set | recipients:
+ yselivanov, terry.reedy, ncoghlan, larry, michael.foord, Claudiu.Popa, Yury.Selivanov |
2014-01-27 19:34:29 | yselivanov | set | messageid: <1390851269.06.0.0394834470813.issue17481@psf.upfronthosting.co.za> |
2014-01-27 19:34:29 | yselivanov | link | issue17481 messages |
2014-01-27 19:34:28 | yselivanov | create | |
|