[issue7085] strptime problem

2009-11-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I committed a fix in r76403 (trunk), r76404 (2.6), r76405 (3.2), 76406 (3.1) -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7085] strptime problem

2009-11-17 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: FWIW, I've filed an issue with Apple for this: Radar #7330231 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7085 ___

[issue7085] strptime problem

2009-11-17 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@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

[issue7085] strptime problem

2009-10-11 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The crash happens whenever you import code on a secondairy thread. I consider this a platform bug in the implementation of dlopen, because the crash also occurs with this variant on test(): def test(): print DL p =

[issue7085] strptime problem

2009-10-08 Thread Jiri Krivanek
New submission from Jiri Krivanek jiri.kriva...@betacontrol.cz: The following simple code works perfectly on W2K, WXP, Ubuntu, OSX10.4 OSX10.5. It, however, stopped working on OSX10.6 (Snow Leopard): It simply crashes. It is a strptime() which causes problems to me. Any idea? Any workaround?

[issue7085] strptime problem

2009-10-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: It fails for me as well on 10.6 (Intel) with 2.6 and trunk and did not fail on 10.5 (ppc). time.strptime does an import of a python module from C code so, not surprisingly, adding a time.strptime call in the main module prior to the

[issue7085] strptime problem

2009-10-08 Thread Jiri Krivanek
Jiri Krivanek jiri.kriva...@betacontrol.cz added the comment: The suggested workaround helped to solve the issue to me. Thank for it very much. I am using Python 2.4.4 and cannot upgrade to anything above 2.4 due to incompatibility between .pyc files (I have tenths of production sites with

[issue7085] strptime problem

2009-10-08 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: It's confirmed on 2.5 - trunk, but it is not an issue in at least 3.1 and py3k. As Ned pointed out, time imports _strptime.py from the standard library which is known to be a no-no. But still, it's odd that it crashed on Snow Leopard but not