strptime issue in multi-threaded application

Scott David Daniels Scott.Daniels at Acm.Org
Tue Jun 16 15:09:06 EDT 2009

MRAB wrote:
> Joe Holloway wrote:
>> We recently uplifted our web application to run on Python 2.6.2.
>> We've noticed on a couple occasions that calls into time.strptime have
>> failed with this exception:
>> [2]
> A simple workaround might be to sleep a short time and then retry.

Can you just import and use time.strptime once before you start the

--Scott David Daniels
Scott.Daniels at Acm.Org

More information about the Python-list mailing list