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 benjamin.peterson, daniel.urban, eric.araujo, eric.snow, gsakkis, marco.mariani, michael.foord, ncoghlan
Date 2011-07-11.12:00:14
SpamBayes Score 3.989786e-07
Marked as misclassified No
Message-id <1310385615.22.0.628045913601.issue8639@psf.upfronthosting.co.za>
In-reply-to
Content
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)".
History
Date User Action Args
2011-07-11 12:00:15ncoghlansetrecipients: + ncoghlan, gsakkis, benjamin.peterson, eric.araujo, michael.foord, daniel.urban, marco.mariani, eric.snow
2011-07-11 12:00:15ncoghlansetmessageid: <1310385615.22.0.628045913601.issue8639@psf.upfronthosting.co.za>
2011-07-11 12:00:14ncoghlanlinkissue8639 messages
2011-07-11 12:00:14ncoghlancreate