]> granicus.if.org Git - python/commit
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)
authorZackery Spytz <zspytz@gmail.com>
Sun, 24 Jun 2018 03:15:24 +0000 (21:15 -0600)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 24 Jun 2018 03:15:24 +0000 (13:15 +1000)
commitea737751b10fff752aafed0231e8a02b82ba365d
tree002552d10224ae5fd6d5a8cbe1d9a02d20431ecd
parent0ba9a0b7d19da8b4bd3c13b358d3fd2a5ad16f09
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)

Directly executed pyc files were being kept open longer than necessary.
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