[Python-checkins] python/dist/src/Misc NEWS,1.1048,1.1049

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Wed Jul 21 04:22:00 CEST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25825/Misc

Modified Files:
	NEWS 
Log Message:
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.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1048
retrieving revision 1.1049
diff -C2 -d -r1.1048 -r1.1049
*** NEWS	20 Jul 2004 22:07:44 -0000	1.1048
--- NEWS	21 Jul 2004 02:21:58 -0000	1.1049
***************
*** 40,43 ****
--- 40,47 ----
  -------
  
+ - 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.



More information about the Python-checkins mailing list