commit | 384fd106e89ec859ace7c098620aad8ce2c2abaa | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Jan 21 03:40:37 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Jan 21 03:40:37 2001 +0000 |
tree | c64de17c61b9e6b6f9fb77853611c544e1c6ac3d | |
parent | eccd02a40d0921fc2953213e71da8a3a79d00e17 [diff] |
Bug #128475: mimetools.encode (sometimes) fails when called from a thread. pythonrun.c: In Py_Finalize, don't reset the initialized flag until after the exit funcs have run. atexit.py: in _run_exitfuncs, mutate the list of pending calls in a threadsafe way. This wasn't a contributor to bug 128475, it just burned my eyeballs when looking at that bug.