Re: strptime issue in multi-threaded application

2009-06-17 Thread Joe Holloway
Christian wrote: > > Joe Holloway schrieb: > > ImportError: Failed to import _strptime because the import lockis > > [sic] held by another thread. > > The error message is my fault. The cause of the mistake is obvious: No worries. The error message is clear even with the m

strptime issue in multi-threaded application

2009-06-16 Thread Joe Holloway
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: ImportError: Failed to import _strptime because the import lockis [sic] held by another thread. I poked around the source code enough

Re: pytz has so many timezones!

2007-10-08 Thread Joe Holloway
On 10/8/07, Sanjay <[EMAIL PROTECTED]> wrote: > 2. Mapping the timezones to countries is a nice idea. Any idea how to > go about it - I mean whether I have to collect the data manually and > do it, or some better way is available - will help me a lot. You might find some good information by brushi