Message140111
This API has changed around a bit in 3.x, so it is actually inspect.getfullargspec that needs to change (getargspec will inherit the new behaviour though, since it uses getfullargspec internally)
With appropriate docs and tests updates, I don't see a problem with adding the feature, though. Docs should note and tests should ensure that this only goes one level deep - if __call__ isn't a real function either, inspect shouldn't try to follow the descriptor chain down the rabbit hole. Anything else runs the risk of infinite recursion in the face of things like "inspect.getargspec(list)". |
|
Date |
User |
Action |
Args |
2011-07-11 12:00:15 | ncoghlan | set | recipients:
+ ncoghlan, gsakkis, benjamin.peterson, eric.araujo, michael.foord, daniel.urban, marco.mariani, eric.snow |
2011-07-11 12:00:15 | ncoghlan | set | messageid: <1310385615.22.0.628045913601.issue8639@psf.upfronthosting.co.za> |
2011-07-11 12:00:14 | ncoghlan | link | issue8639 messages |
2011-07-11 12:00:14 | ncoghlan | create | |
|