[issue7085] strptime problem

Ronald Oussoren report at bugs.python.org
Tue Nov 17 17:49:56 CET 2009


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

The crash is caused by loading any extension that happens to link with 
CoreFoundation on a secondary thread, unless CoreFoundation was already 
initialized.

The CF framework contains a constructor that explicitly aborts when it 
is not called on the main thread (all of this on Snow Leopard only).

I've found a workaround for this issue: ensure that Python is linked to 
the CoreFoundation framework, that way CF will be initialized when 
Python starts.

I'm working on a clean patch for this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7085>
_______________________________________


More information about the Python-bugs-list mailing list