Skip to content

[3.14] gh-135450: Remove assertion in _PyCode_CheckNoExternalState (gh-135466) - #135694

Merged
ericsnowcurrently merged 1 commit into
python:3.14from
miss-islington:backport-15f2bac-3.14
Jun 18, 2025
Merged

[3.14] gh-135450: Remove assertion in _PyCode_CheckNoExternalState (gh-135466)#135694
ericsnowcurrently merged 1 commit into
python:3.14from
miss-islington:backport-15f2bac-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jun 18, 2025

Copy link
Copy Markdown
Contributor

The assertion reflected a misunderstanding of situations where "hidden" variables might exist,
namely generator expressions and comprehensions.
(cherry picked from commit 15f2bac)

Co-authored-by: Peter Bierma zintensitydev@gmail.com

…ythongh-135466)
The assertion reflected a misunderstanding of situations where "hidden" variables might exist,
namely generator expressions and comprehensions.
(cherry picked from commit 15f2bac)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@ericsnowcurrently@ZeroIntensity