Skip to content

bpo-43118: in inspect.signature,use 'base' to help parse 'base.__text_signature__' #30285

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 21, 2022

Conversation

hongweipeng
Copy link
Contributor

@hongweipeng hongweipeng commented Dec 29, 2021

@JelleZijlstra
Copy link
Member

@gvanrossum I think this is ready to merge.

@JelleZijlstra
Copy link
Member

Though we need to decide whether this should be backported to 3.9 and 3.10. I'd say yes since it's a bugfix and the old behavior was broken.

@JelleZijlstra JelleZijlstra added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes labels Jan 21, 2022
@gvanrossum gvanrossum merged commit 881a763 into python:main Jan 21, 2022
@miss-islington
Copy link
Contributor

Thanks @hongweipeng for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 21, 2022
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jan 21, 2022
@bedevere-bot
Copy link

GH-30765 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 21, 2022
@bedevere-bot
Copy link

GH-30766 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jan 21, 2022
@gvanrossum
Copy link
Member

I hope the commit title I made up covers the change. (If not, too bad -- we don't roll things back to fix commit messages.)

miss-islington added a commit that referenced this pull request Jan 21, 2022
@hongweipeng hongweipeng deleted the fix-inspect-signature-fromstr branch January 22, 2022 10:32
@hongweipeng hongweipeng restored the fix-inspect-signature-fromstr branch January 22, 2022 15:22
gvanrossum pushed a commit that referenced this pull request Jan 22, 2022
…__' (GH-30285) (#30765)

(cherry picked from commit 881a763)

Co-authored-by: Weipeng Hong <[email protected]>

Co-authored-by: Weipeng Hong <[email protected]>
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants