summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-04 15:48:05 (GMT)
committerGitHub <noreply@github.com>2019-05-04 15:48:05 (GMT)
commitc664b342a47e4b4650706d07e3e40a295e3a4407 (patch)
tree960378ef676a7dc621be03f0b7744ce73a0948c0 /Python/ceval.c
parent6b5b013bcc22a27d6231c2796882e44ddb42be67 (diff)
downloadcpython-c664b342a47e4b4650706d07e3e40a295e3a4407.zip
cpython-c664b342a47e4b4650706d07e3e40a295e3a4407.tar.gz
cpython-c664b342a47e4b4650706d07e3e40a295e3a4407.tar.bz2
bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 8ae273e..e616a3f 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -211,7 +211,6 @@ exit_thread_if_finalizing(PyThreadState *tstate)
if (_Py_IsFinalizing() && !_Py_CURRENTLY_FINALIZING(tstate)) {
drop_gil(tstate);
PyThread_exit_thread();
- Py_UNREACHABLE();
}
}