]> granicus.if.org Git - python/commit
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 24 Jun 2018 03:41:40 +0000 (20:41 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Jun 2018 03:41:40 +0000 (20:41 -0700)
commit8f8ad2c38237caf5ee48f690289e8c811d245455
treec8f8fbd15d8d0be1ce397ab4322f84295bf85d43
parent7729d6d27d5d31b9764dec4a96a458015be3ecb8
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)

Directly executed pyc files were being kept open longer than necessary.
(cherry picked from commit ea737751b10fff752aafed0231e8a02b82ba365d)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2018-06-23-15-32-02.bpo-33451.sWN-1l.rst [new file with mode: 0644]
Python/pythonrun.c