Python's strptime when access by more then one threads simultaneously, it only allows the execution of one thread and throws exception at rest of the other threads. Python's strptime is not threadsafe ...
When STRPTIME is passed a mix of format strings that do and do not include timezone information, it always returns a TIMESTAMPTZ with the string value interpreted in UTC, regardless of which format ...