[issue29858] inspect.signature includes bound argument for wrappers around decorated bound methods

2022-01-21 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue29858] inspect.signature includes bound argument for wrappers around decorated bound methods

2019-04-09 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29858] inspect.signature includes bound argument for wrappers around decorated bound methods

2017-03-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +yselivanov stage: -> patch review type: -> behavior versions: -Python 3.3, Python 3.4 ___ Python tracker

[issue29858] inspect.signature includes bound argument for wrappers around decorated bound methods

2017-03-20 Thread anton-ryzhov
Changes by anton-ryzhov : -- pull_requests: +650 ___ Python tracker ___ ___ Python-bugs-list

[issue29858] inspect.signature includes bound argument for wrappers around decorated bound methods

2017-03-20 Thread anton-ryzhov
anton-ryzhov added the comment: Related to http://bugs.python.org/issue24298 -- ___ Python tracker ___ ___

[issue29858] inspect.signature includes bound argument for wrappers around decorated bound methods

2017-03-20 Thread anton-ryzhov
New submission from anton-ryzhov: If we wrap function with bound method, which is also a wrapper around function, `inspect.signature` will not do `skip_bound_arg`. It will use `inspect.unwrap` and pass by bound method from outer function to inner one. Reproduce: ``` import functools, inspect