We have been trying to figure out an intermittent problem where a
thread would fail with this:

AttributeError: 'module' object has no attribute '_strptime'

Even though we were importing datetime. After much banging our heads
against the wall, we found this:

http://code-trick.com/python-bug-attribute-error-_strptime/

The workaround suggested there, to call strptime before starting your
threads, seems to have fixed the issue.

I thought I'd mention it here in case anyone else is facing this.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to