[issue11108] Intermittent AttributeError when using time.strptime in threads

2012-01-18 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11108 ___ ___ Python-bugs-list

[issue11108] Intermittent AttributeError when using time.strptime in threads

2011-02-03 Thread Carlos Corbacho
New submission from Carlos Corbacho cathec...@gmail.com: time.strptime() intermittently (and I mean _really_ intermittently) throws an AttributeError. Steps to reproduce: Run the attached script (you may have to do this quite a lot of times; in an evening of trying, I could only trigger this

[issue11108] Intermittent AttributeError when using time.strptime in threads

2011-02-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: It's a duplicate of issue7980. One workaround is to call strptime() once in the main thread. -- nosy: +amaury.forgeotdarc resolution: - duplicate status: open - closed superseder: - time.strptime not thread safe