Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).

- Legacy-Id: 10941
This commit is contained in:
Henrik Levkowetz 2016-03-16 14:06:09 +00:00
parent 5905876de1
commit 64f5473499

View file

@ -16,6 +16,10 @@ import time
time.strptime('1984', '%Y') # this will happen lazily when changelog calls tzparse later, otherwise
# workaround for thread import lock problem, http://bugs.python.org/issue7980
import time
time.strptime('1984', '%Y')
# workaround for thread import lock problem, http://bugs.python.org/issue7980
import time
time.strptime('1984', '%Y')