KEMBAR78
[3.13] gh-130070: Fix `exec(<string>, closure=<non-None>)` unexpected path (GH-130071) by bswck · Pull Request #132627 · python/cpython · GitHub
Skip to content

Conversation

@bswck
Copy link
Contributor

@bswck bswck commented Apr 17, 2025

Fixed an assertion error (so, it could be reproduced only in builds with assertions enabled) for exec when the source argument is a string and the closure argument is not None.

Co-authored-by: sobolevn mail@sobolevn.me
(cherry picked from commit 954b2cf)

…path (python#130071)

Fixed an assertion error (so, it could be reproduced only in builds with assertions enabled)
for `exec` when the `source` argument is a string and the `closure` argument is not `None`.

Co-authored-by: sobolevn <mail@sobolevn.me>
(cherry picked from commit 954b2cf)
@Eclips4 Eclips4 enabled auto-merge (squash) April 17, 2025 09:21
@Eclips4 Eclips4 merged commit 582d1ef into python:3.13 Apr 17, 2025
40 checks passed
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.

2 participants