[issue9683] Dead code in py3k inspect module

2010-10-15 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed both in r85533. Thanks! -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9683 ___

[issue9683] Dead code in py3k inspect module

2010-09-16 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: The documentation about `getargvalues()` and the docstrings of `getargspec()` and friends still mention nested lists for args. Should I update the patch or should I create a new issue? --

[issue9683] Dead code in py3k inspect module

2010-08-29 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - georg.brandl nosy: +georg.brandl resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9683 ___

[issue9683] Dead code in py3k inspect module

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Indeed, with 3.1: def f(x, y): pass ... inspect.formatargspec(inspect.getargspec(f)) TypeError: object of type 'map' has no len() -- nosy: +amaury.forgeotdarc type: - behavior ___ Python

[issue9683] Dead code in py3k inspect module

2010-08-26 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: The correct call is more something like ``inspect.formatargspec(*inspect.getargspec(f))``, which should work for all (Python) functions in Python 3. In Python 2, tuple unpacking was represented using a nested list for the

[issue9683] Dead code in py3k inspect module

2010-08-25 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: -- title: Dead code in pyk inspect module - Dead code in py3k inspect module ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9683 ___