summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-11-19 16:25:21 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-11-19 16:25:21 (GMT)
commit315cd0c73939ff2b9a9dbef35986b129a0b3064e (patch)
treed4fdaacc67f9508f0b814a8f614e4ac7c9a0e358 /Misc
parent39de1fc5c8715fa69d96501e100b360c3b56d22e (diff)
downloadcpython-315cd0c73939ff2b9a9dbef35986b129a0b3064e.zip
cpython-315cd0c73939ff2b9a9dbef35986b129a0b3064e.tar.gz
cpython-315cd0c73939ff2b9a9dbef35986b129a0b3064e.tar.bz2
Fix for issue #7085
On MacOSX 10.6 the CoreFoundation framework must be initialized on the main thread, the constructor function in that framework will cause an SIGABRT when it is called on any other thread. Because a number of extension link (indirectly) to CoreFoundation and the Python core itself didn't the interpreter crashed when importing some extensions, such as _locale, on a secondary thread. This fix ensures that Python is linked to CoreFoundation on OSX, which results in the CoreFoundation constructor being called when Python is loaded. This does not require code changes.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4616da8..fcda7fd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- Issue #7085: Fix crash when importing some extensions in a thread
+ on MacOSX 10.6.
+
- Issue #7117: Backport round implementation from Python 3.x. round
now uses David Gay's correctly-rounded string <-> double conversions
(when available), and so produces correctly rounded results. There