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

anybody who knows python r?