[issue32497] datetime.strptime creates tz naive object from value containing a tzname

2018-01-05 Thread Arjan Keeman
Change by Arjan Keeman : -- keywords: +patch pull_requests: +4973 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32497> ___ ___ Py

[issue32497] datetime.strptime creates tz naive object from value containing a tzname

2018-01-05 Thread Arjan Keeman
New submission from Arjan Keeman : Consider the following: tz_naive_object = datetime.strptime("2018-01-05 13:10:00 CET", "%Y-%m-%d %H:%M:%S %Z") Python's standard library is not capable of converting the timezone name CET to a tzinfo object. Therefore the case made