Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97426 > unrolled thread
| Started by | Larry Martell <larry.martell@gmail.com> |
|---|---|
| First post | 2015-10-05 18:11 -0400 |
| Last post | 2015-10-05 18:11 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
threading bug in strptime Larry Martell <larry.martell@gmail.com> - 2015-10-05 18:11 -0400
| From | Larry Martell <larry.martell@gmail.com> |
|---|---|
| Date | 2015-10-05 18:11 -0400 |
| Subject | threading 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.
Back to top | Article view | comp.lang.python
csiph-web