[issue17481] inspect.getfullargspec could use __signature__

2014-01-18 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17481 ___ ___ Python-bugs-list

[issue17481] inspect.getfullargspec could use __signature__

2014-01-18 Thread Terry J. Reedy
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

[issue17481] inspect.getfullargspec could use __signature__

2014-01-17 Thread Yury Selivanov
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 ___

[issue17481] inspect.getfullargspec could use __signature__

2014-01-11 Thread Yury Selivanov
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

[issue17481] inspect.getfullargspec could use __signature__

2014-01-11 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17481 ___ ___ Python-bugs-list

[issue17481] inspect.getfullargspec could use __signature__

2013-03-19 Thread Michael Foord
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