Staging
v0.5.1
https://github.com/python/cpython
Revision d9df63deab78f70061a5a24c1f92e6d389fc45f7 authored by Victor Stinner on 24 April 2020, 01:07:20 UTC, committed by GitHub on 24 April 2020, 01:07:20 UTC
If _PyCode_InitOpcache() fails in _PyEval_EvalFrameDefault(), use
"goto exit_eval_frame;" rather than "return NULL;" to exit the
function in a consistent state. For example, tstate->frame is now
reset properly.

(cherry picked from commit 25104949a5a60ff86c10691e184ce2ecb500159b)
1 parent 3340b2a
History
Tip revision: d9df63deab78f70061a5a24c1f92e6d389fc45f7 authored by Victor Stinner on 24 April 2020, 01:07:20 UTC
bpo-40048: Fix _PyCode_InitOpcache() error path (GH-19691) (GH-19698)
Tip revision: d9df63d
File Mode Size
test
__init__.py -rw-r--r-- 3.2 KB
__main__.py -rw-r--r-- 472 bytes
async_case.py -rw-r--r-- 5.6 KB
case.py -rw-r--r-- 58.2 KB
loader.py -rw-r--r-- 22.2 KB
main.py -rw-r--r-- 11.0 KB
mock.py -rw-r--r-- 96.0 KB
result.py -rw-r--r-- 7.3 KB
runner.py -rw-r--r-- 7.6 KB
signals.py -rw-r--r-- 2.3 KB
suite.py -rw-r--r-- 12.5 KB
util.py -rw-r--r-- 5.1 KB

back to top