X Tutup
Skip to content

gh-145701: Fix __classdict__ & __conditional_annotations__ in class-scope inlined comprehensions#145702

Merged
gpshead merged 1 commit intopython:mainfrom
StanFromIreland:crashes
Mar 9, 2026
Merged

gh-145701: Fix __classdict__ & __conditional_annotations__ in class-scope inlined comprehensions#145702
gpshead merged 1 commit intopython:mainfrom
StanFromIreland:crashes

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Mar 9, 2026

…in class-scope inlined comprehensions
@gpshead gpshead added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Mar 9, 2026
@gpshead
Copy link
Member

gpshead commented Mar 9, 2026

(opportunistically applying the backport labels - I'm not sure how far back this will need to go)

@gpshead gpshead merged commit 63eaaf9 into python:main Mar 9, 2026
60 checks passed
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 9, 2026
…in class-scope inlined comprehensions (pythonGH-145702)

(cherry picked from commit 63eaaf9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 9, 2026
…in class-scope inlined comprehensions (pythonGH-145702)

(cherry picked from commit 63eaaf9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 9, 2026

GH-145710 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 9, 2026
@bedevere-app
Copy link

bedevere-app bot commented Mar 9, 2026

GH-145711 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 9, 2026
@StanFromIreland StanFromIreland deleted the crashes branch March 9, 2026 19:57
@StanFromIreland
Copy link
Member Author

(opportunistically applying the backport labels - I'm not sure how far back this will need to go)

I can repro on 3.13/3.14.

@JelleZijlstra
Copy link
Member

I think I introduced the bug in 3.12, so yes this should be backported

JelleZijlstra pushed a commit that referenced this pull request Mar 9, 2026
… in class-scope inlined comprehensions (GH-145702) (#145710)

(cherry picked from commit 63eaaf9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

* Add `:oss-fuzz:` supports

Backports part of 255e79f.

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
gpshead pushed a commit that referenced this pull request Mar 9, 2026
… in class-scope inlined comprehensions (GH-145702) (#145711)

* gh-145701: Fix `__classdict__` & `__conditional_annotations__` in class-scope inlined comprehensions (GH-145702)
(cherry picked from commit 63eaaf9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

* Add `:oss-fuzz:` macro support

Backports part of 255e79f.

---------

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
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.

3 participants

X Tutup