[issue8639] Allow callable objects in inspect.getfullargspec

2011-08-02 Thread Maxim Bublis
Changes by Maxim Bublis : Removed file: http://bugs.python.org/file22825/inspect.patch ___ Python tracker <http://bugs.python.org/issue8639> ___ ___ Python-bugs-list m

[issue8639] Allow callable objects in inspect.getfullargspec

2011-08-01 Thread Maxim Bublis
Maxim Bublis added the comment: Agree, support for __new__ or __init__ methods would add some ambiquity, so i've decided to drop __init__ support from patch. Patch has been reuploaded. -- Added file: http://bugs.python.org/file22826/inspect2.

[issue8639] Allow callable objects in inspect.getfullargspec

2011-08-01 Thread Maxim Bublis
Maxim Bublis added the comment: I've ran into the same problem with getfullargspec not supporting callables, so I've written patch with docs and tests, that adds support for any Python callable. As a result of getfullargspec's implementation change, getargspec functio