summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-07-21 02:21:58 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-07-21 02:21:58 (GMT)
commit8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01 (patch)
treeb43d1ba3f7c88cb17bd52859ed7aaacd8d17a2ff /Misc
parent7728b4719e08cb64d4c77051338c2b54a57b867e (diff)
downloadcpython-8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01.zip
cpython-8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01.tar.gz
cpython-8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01.tar.bz2
Fix bug where a KeyError was raised if -O was being used for the interpreter
and Thread.__delete() was called after a Thread instance was created. Problem resulted from a currentThread() call in an 'assert' statement being optimized out and dummy_thread.get_ident() always returning -1 and thus overwriting the entry for the _MainThread() instance created in 'threading' at import time. Closes bug #993394.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f679239..af7b384 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -39,6 +39,10 @@ Extension modules
Library
-------
+- Bug #993394. Fix a possible red herring of KeyError in 'threading' being
+ raised during interpreter shutdown from a registered function with atexit
+ when dummy_threading is being used.
+
- Bug #857297/Patch #916874. Fix an error when extracting a hard link
from a tarfile.