]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-119605: Respect `follow_wrapped` for `__init__` and `__new__` when getting...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 2 May 2025 03:06:07 +0000 (05:06 +0200)
committerGitHub <noreply@github.com>
Fri, 2 May 2025 03:06:07 +0000 (20:06 -0700)
commit766c5f75b9c3961dfb0ddc5e9637e91006b066dd
tree89386fc8c616dccc048e20730efb9c31aed70915
parentf7d1109a1227dec99c6fb08c7e64aecc7acafa02
[3.13] gh-119605: Respect `follow_wrapped` for `__init__` and `__new__` when getting class signature with `inspect.signature` (GH-132055) (#133277)

gh-119605: Respect `follow_wrapped` for `__init__` and `__new__` when getting class signature with `inspect.signature` (GH-132055)
(cherry picked from commit b8633f9aca9b198e5592106b649389d638cbc620)

Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
Lib/inspect.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_warnings/__init__.py
Misc/NEWS.d/next/Library/2025-04-03-17-19-42.gh-issue-119605.c7QXAA.rst [new file with mode: 0644]