[Python-Dev] Deadlock by a second import in a thread

Facundo Batista facundobatista at gmail.com
Fri Oct 26 05:12:07 CEST 2007


2007/10/25, Facundo Batista <facundobatista at gmail.com>:

> BTW, I'll leave the optimization of importing strptime one time,
> there's no reason to try to import it everytime strptime() is called.

No, I'm not. In consideration to the possible warning raised by Brett,
I won't commit the change (it does not fix anything, just a marginal
optimization, so there's no enough reason to bring a possible issue).

For the record, I'm attaching the would-be patch.

Thank you all!

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timemodule.c.patch
Type: text/x-diff
Size: 1013 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20071026/76c9f7b8/attachment.patch 


More information about the Python-Dev mailing list