Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
JelleZijlstra merged 36 commits intopython:mainfromXuehaiPan:deprecated-signature
May 1, 2025

Conversation

XuehaiPan
Copy link
Contributor

@XuehaiPanXuehaiPan commentedApr 3, 2025
edited by bedevere-appbot
Loading

@XuehaiPanXuehaiPan marked this pull request as ready for reviewApril 3, 2025 17:45
@XuehaiPan
Copy link
ContributorAuthor

cc@JelleZijlstra

@python-cla-bot
Copy link

All commit authors signed the Contributor License Agreement.

CLA signed

@XuehaiPanXuehaiPan changed the titlegh-119605: Preserve class signature after wrapping with@warnings.deprecatedgh-119605: Respectfollow_wrapped for__init__ and__new__ when getting class signature withinspect.signatureApr 6, 2025
@XuehaiPan
Copy link
ContributorAuthor

cc@serhiy-storchaka for code review

@JelleZijlstraJelleZijlstra added the needs backport to 3.13bugs and security fixes labelMay 1, 2025
@JelleZijlstraJelleZijlstra merged commitb8633f9 intopython:mainMay 1, 2025
44 of 45 checks passed
@miss-islington-app
Copy link

Thanks@XuehaiPan for the PR, and@JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 1, 2025
…` when getting class signature with `inspect.signature` (pythonGH-132055)(cherry picked from commitb8633f9)Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
@bedevere-app
Copy link

GH-133277 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 1, 2025
JelleZijlstra pushed a commit that referenced this pull requestMay 2, 2025
…_` 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 commitb8633f9)Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@skirpichevskirpichevskirpichev left review comments

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@XuehaiPan@JelleZijlstra@skirpichev

[8]ページ先頭

©2009-2025 Movatter.jp