]> 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:31:21 +0000 (20:31 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Jun 2018 03:31:21 +0000 (20:31 -0700)
commit56aaef0ddba6275b8043b58433739a64497f33b4
tree86ab2cbaeb67a9e72a39cff89fab36a33e2dce68
parent6b7ed31cf9d89a5ffcb3ab438dfd4760b781c488
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