[issue7980] time.strptime not thread safe

Romuald Brunet report at bugs.python.org
Tue Mar 18 21:26:27 CET 2014


Romuald Brunet added the comment:

This is a patch attempt to fix issue: import the _strptime module at time / datetime module load instead of method call.

Please note that the test is not fully reliable: it may pass without the patch / on current version, since threaded execution isn't controlled

----------
keywords: +patch
Added file: http://bugs.python.org/file34496/issue7980-fix.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7980>
_______________________________________


More information about the Python-bugs-list mailing list