Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97426 > unrolled thread

threading bug in strptime

Started byLarry Martell <larry.martell@gmail.com>
First post2015-10-05 18:11 -0400
Last post2015-10-05 18:11 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  threading bug in strptime Larry Martell <larry.martell@gmail.com> - 2015-10-05 18:11 -0400

#97426 — threading bug in strptime

FromLarry Martell <larry.martell@gmail.com>
Date2015-10-05 18:11 -0400
Subjectthreading bug in strptime
Message-ID<mailman.404.1444083096.28679.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web