fixes bug 893837 - Occasional strange python bug due to thread locking in _strptime
Merge pull request #424 from peterbe/bug-893837-occasional-strange-python-bug-due-to-thread-locking-in-_strptime

fixes bug 893837 - Occasional strange python bug due to thread locking _strptime