Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97426
| Date | 2015-10-05 18:11 -0400 |
|---|---|
| Subject | threading bug in strptime |
| From | Larry Martell <larry.martell@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.404.1444083096.28679.python-list@python.org> (permalink) |
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
threading bug in strptime Larry Martell <larry.martell@gmail.com> - 2015-10-05 18:11 -0400
csiph-web