Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17481
___
___
Python-bugs-list
Terry J. Reedy added the comment:
While I plan to change Idle code to use signature directly, instead of
getfullargspec, I agree that changing inspect also, and in 3.4, is a good idea.
It may, however, affect tests other than Idle's, if there are any other stdlib
consumers. I will try to look
Yury Selivanov added the comment:
Can somebody review the patch? I'd be cool if this lands in 3.4.
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17481
___
Yury Selivanov added the comment:
Please consider the attached patch (getargsspec_01.patch).
It modifies 'getargspec' and 'getfullargspec' to use the 'inspect.signature'
API. The entire test suite passes just fine.
This also will address issue #16490.
I can also update the docs, if it's
Changes by Claudiu.Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17481
___
___
Python-bugs-list
New submission from Michael Foord:
inspect.getfullargspec (and potentially getargspec?) could *use*
function.__signature__ if set. This allows functions that lie about their
signature with the new introspection tool (Signature) to still work with older
code.
--
components: Library