diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 03:14:41 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 03:14:41 (GMT) |
commit | 441adb8c5782de6fcf71ee3396d114c48cd1cb5b (patch) | |
tree | bdfac5137aa3cb90da5df29bd6bfd8345acd3adb /Modules/_testcapimodule.c | |
parent | 775632ba107fb37dfe2d38a39e129f1daad070cf (diff) | |
download | cpython-441adb8c5782de6fcf71ee3396d114c48cd1cb5b.zip cpython-441adb8c5782de6fcf71ee3396d114c48cd1cb5b.tar.gz cpython-441adb8c5782de6fcf71ee3396d114c48cd1cb5b.tar.bz2 |
Backout changeset 46393019b650
test_capi is failing and the fix is not trivial, I prefer to revert
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 6f2a75c..a0cffde 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -2511,10 +2511,6 @@ run_in_subinterp(PyObject *self, PyObject *args) r = PyRun_SimpleString(code); Py_EndInterpreter(substate); - /* restore previous thread safe. It was replaced by Py_NewInterpreter() - which creates a new thread state. */ - _PyThreadState_Init(mainstate); - PyThreadState_Swap(mainstate); return PyLong_FromLong(r); |