You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Make sure that exc_tb gets deleted since it is a memory
947
949
# hog; deleting everything else is just for thoroughness
948
950
finally:
@@ -1319,10 +1321,9 @@ def main_thread():
1319
1321
1320
1322
1321
1323
def_after_fork():
1322
-
# This function is called by Python/ceval.c:PyEval_ReInitThreads which
1323
-
# is called from PyOS_AfterFork_Child. Here we cleanup threading module
1324
-
# state that should not exist after a fork.
1325
-
1324
+
"""
1325
+
Cleanup threading module state that should not exist after a fork.
1326
+
"""
1326
1327
# Reset _active_limbo_lock, in case we forked while the lock was held
1327
1328
# by another (non-forked) thread. http://bugs.python.org/issue874900
0 commit comments