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-143517: Fix an edge case in rewriting stringified starred annotations#143518

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

Conversation

@johnslavik
Copy link
Member

@johnslavikjohnslavik commentedJan 7, 2026
edited by bedevere-appbot
Loading

@johnslavik
Copy link
MemberAuthor

(Ignore the name of856f612, it's misleading)

@johnslavikjohnslavik changed the titlegh-143517: L-strip starred stringified annotations before checking for*gh-143517: Fix an edge case in rewriting stringified starred annotationsJan 7, 2026
Copy link
Member

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Seems simple enough :)

johnslavik reacted with hooray emoji
Copy link
Member

@JelleZijlstraJelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not sure why anyone would do this, but we acceptx: " int" and parse it intoint, so I guess we should accept this too.

@JelleZijlstraJelleZijlstra merged commit6c9f7b4 intopython:mainJan 8, 2026
54 checks passed
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 8, 2026
…notations (pythonGH-143518)(cherry picked from commit6c9f7b4)Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
@bedevere-app
Copy link

GH-143540 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJan 8, 2026
@johnslavik
Copy link
MemberAuthor

Not sure why anyone would do this, but we acceptx: " int" and parse it intoint, so I guess we should accept this too.

I was mainly thinking that some automated code generation only could run into that.

JelleZijlstra pushed a commit that referenced this pull requestJan 8, 2026
…nnotations (GH-143518) (#143540)gh-143517: Fix an edge case in rewriting stringified starred annotations (GH-143518)(cherry picked from commit6c9f7b4)Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
reidenong pushed a commit to reidenong/cpython that referenced this pull requestJan 12, 2026
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

@sobolevnsobolevnsobolevn 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

@johnslavik@JelleZijlstra@sobolevn

[8]ページ先頭

©2009-2026 Movatter.jp