summaryrefslogtreecommitdiffstats
path: root/Modules/_cursesmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-24 00:43:18 (GMT)
committerGitHub <noreply@github.com>2020-04-24 00:43:18 (GMT)
commit25104949a5a60ff86c10691e184ce2ecb500159b (patch)
treefb8ff45bfbe89166981741f469903041f53c0a91 /Modules/_cursesmodule.c
parent9f27dd3e16e2832fa8c375bfc4493de75b39d53f (diff)
downloadcpython-25104949a5a60ff86c10691e184ce2ecb500159b.zip
cpython-25104949a5a60ff86c10691e184ce2ecb500159b.tar.gz
cpython-25104949a5a60ff86c10691e184ce2ecb500159b.tar.bz2
bpo-40048: Fix _PyCode_InitOpcache() error path (GH-19691)
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.
Diffstat (limited to 'Modules/_cursesmodule.c')
0 files changed, 0 insertions, 0 deletions