mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
582d1ef463
gh-130070: Fix `exec(<string>, closure=<non-None>)` unexpected path (#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 954b2cf031)
Miscellaneous source files for the main Python shared library