[issue8639] Allow callable objects in inspect.getfullargspec
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8639] Allow callable objects in inspect.getfullargspec
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 supports callables. -- keywords: +patch nosy: +maxbublis Added file: http://bugs.python.org/file22825/inspect.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8639 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8639] Allow callable objects in inspect.getfullargspec
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8639 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com