summaryrefslogtreecommitdiff
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-10-12 21:07:54 +0200
committerCharles-François Natali <neologix@free.fr>2011-10-12 21:07:54 +0200
commit1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43 (patch)
tree938636c04083f9be5d9df818283975d90b574098 /Modules/signalmodule.c
parent4394e0db24f38250d487adcbd8b85f314cb86829 (diff)
downloadcpython-git-1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43.tar.gz
Issue #13156: revert changeset f6feed6ec3f9, which was only relevant for native
TLS implementations, and fails with the ad-hoc TLS implementation when a thread doesn't have an auto thread state (e.g. a thread created outside of Python calling into a subinterpreter).
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 6f021e72e0..f306bba16f 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -976,7 +976,6 @@ void
PyOS_AfterFork(void)
{
#ifdef WITH_THREAD
- _PyGILState_Reinit();
PyEval_ReInitThreads();
main_thread = PyThread_get_thread_ident();
main_pid = getpid();