Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-119605: Respectfollow_wrapped
for__init__
and__new__
when getting class signature withinspect.signature
#132055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
2758c37
toaa8865e
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@warnings.deprecated
follow_wrapped
for__init__
and__new__
when getting class signature withinspect.signature
cc@serhiy-storchaka for code review |
b8633f9
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@XuehaiPan for the PR, and@JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…` when getting class signature with `inspect.signature` (pythonGH-132055)(cherry picked from commitb8633f9)Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
GH-133277 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Fixes a case in#119605 (comment).
__new__
and__init_subclass__
methods generated bywarnings.deprecated
#119605