[issue8639] Allow callable objects in inspect.getfullargspec

Benjamin Peterson report at bugs.python.org
Tue Aug 2 00:36:15 CEST 2011

Benjamin Peterson <benjamin at python.org> added the comment:

I'm -0.5. I think the current patch makes too many assumptions for the caller. For example, someone calling a class may really desire __new__'s signature, not that of __init__. Moreover, conceptually, getargspec() returns the argspec of a directly callable *function* or *method*.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list