]> granicus.if.org Git - python/commitdiff
Issue #1856: Avoid crashes and lockups when daemon threads run while the
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 4 May 2011 18:04:29 +0000 (20:04 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 4 May 2011 18:04:29 +0000 (20:04 +0200)
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.

1  2 
Include/pythonrun.h
Lib/test/test_threading.py
Misc/NEWS
Python/ceval.c
Python/pythonrun.c
Python/thread_pthread.h

Simple merge
Simple merge
diff --cc Misc/NEWS
index 13b42e2b1a175af7ff0783ca94468ec4fec7e3f6,ca22acf2abd0a6cfefa7da54f3ef9a2e391d73c1..5fa8e70c869e1dbc5bbe0359a52e7cbe581aac17
+++ b/Misc/NEWS
@@@ -10,10 -10,10 +10,14 @@@ What's New in Python 3.3 Alpha 1
  Core and Builtins
  -----------------
  
+ - Issue #1856: Avoid crashes and lockups when daemon threads run while the
+   interpreter is shutting down; instead, these threads are now killed when
+   they try to take the GIL.
 +- Issue #11849: Make it more likely for the system allocator to release
 +  free()d memory arenas on glibc-based systems.  Patch by Charles-François
 +  Natali.
 +
  - Issue #9756: When calling a method descriptor or a slot wrapper descriptor,
    the check of the object type doesn't read the __class__ attribute anymore.
    Fix a crash if a class override its __class__ attribute (e.g. a proxy of the
diff --cc Python/ceval.c
Simple merge
Simple merge
Simple merge