[issue23764] Reference inspect.Signature.bind from functools.wraps documentation

2015-03-25 Thread productivememberofsociety666
productivememberofsociety666 added the comment: Sorry, did not mean to change the Components and Versions thingies... -- components: +Documentation -Library (Lib) versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue23

[issue23764] Reference inspect.Signature.bind from functools.wraps documentation

2015-03-25 Thread productivememberofsociety666
productivememberofsociety666 added the comment: Sounds good! I think the docs on functools.wraps already list precisely which data is updated, but maybe mentioning explicitly that it can not affect the argspec could indeed make it clearer. Either way, thank you for your help

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-25 Thread productivememberofsociety666
productivememberofsociety666 added the comment: def wrapper(func): return functools.wraps(func)(functools.partial(func)) ^ doesn't that just return something that is completely equivalent to func itself? Where do I put the actual wrapper functionality, i.e. code that is executed with

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-25 Thread productivememberofsociety666
productivememberofsociety666 added the comment: You're probably right and it's next to impossible to implement what I want in a clean manner. I'll get back to that at the end, but first for completeness's sake two examples to illustrate what this issue is even about. `

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread productivememberofsociety666
productivememberofsociety666 added the comment: I'm not sure if I understand issue 15731 correctly, but isn't that one just about docstrings and signatures? These are both purely "cosmetic" and don't have an effect on calling behaviour, do they? This issue wou

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread productivememberofsociety666
New submission from productivememberofsociety666: functools.wraps currently only changes the wrapped function's "superficial" attributes such as docstring or annotations. But it would be useful to be able to change the function's actual argspec as well so it matches

[issue18669] curses.chgat() moves cursor, documentation says it shouldn't

2013-08-06 Thread productivememberofsociety666
Changes by productivememberofsociety666 : Added file: http://bugs.python.org/file31178/chgat-bug.py ___ Python tracker <http://bugs.python.org/issue18669> ___ ___ Pytho

[issue18669] curses.chgat() moves cursor, documentation says it shouldn't

2013-08-06 Thread productivememberofsociety666
Changes by productivememberofsociety666 : Removed file: http://bugs.python.org/file31175/chgat-bug.py ___ Python tracker <http://bugs.python.org/issue18669> ___ ___ Pytho

[issue18669] curses.chgat() moves cursor, documentation says it shouldn't

2013-08-06 Thread productivememberofsociety666
New submission from productivememberofsociety666: According to docs.python.org/2/library/curses.html#chgat (or any other version), curses.chgat() is not supposed to move the cursor at all. This is true if you don't give it x,y coordinates, but if you do, the cursor does in fact move to