[issue8639] Allow callable objects in inspect.getfullargspec

2011-08-02 Thread Maxim Bublis
Changes by Maxim Bublis b...@codemonkey.ru: Removed file: http://bugs.python.org/file22825/inspect.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8639

[issue8639] Allow callable objects in inspect.getfullargspec

2011-08-01 Thread Maxim Bublis
Maxim Bublis b...@codemonkey.ru 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 function also

[issue8639] Allow callable objects in inspect.getfullargspec

2011-08-01 Thread Maxim Bublis
Maxim Bublis b...@codemonkey.ru 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.patch