This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ede123
Recipients Aaron.Meurer, Václav Dvořák, civalin, docs@python, ede123, eryksun, ezio.melotti, kepkin, martin-t, paul.moore, r.david.murray, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-03-28.18:23:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616955797.13.0.901128004161.issue43649@roundup.psfhosted.org>
In-reply-to
Content
This is a follow-up to https://bugs.python.org/issue20010

I'm seeing this very issue in a recent gcc build of Python 3.8 (mingw-w64-x86_64-python 3.8.8-2 from MSYS2 project):

Python 3.8.8 (default, Feb 20 2021, 07:16:03)  [GCC 10.2.0 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strftime('%z', time.localtime(time.time()))
'Mitteleuropäische Sommerzeit'
>>> time.strftime('%Z', time.localtime(time.time()))
'Mitteleuropäische Sommerzeit'


If this is indeed fixed in MSVCRT, it seems behavior is still not guaranteed when compiling with mingw-w64 gcc.
History
Date User Action Args
2021-03-28 18:23:17ede123setrecipients: + ede123, paul.moore, vstinner, tim.golden, ezio.melotti, r.david.murray, Aaron.Meurer, docs@python, zach.ware, eryksun, steve.dower, civalin, kepkin, martin-t, Václav Dvořák
2021-03-28 18:23:17ede123setmessageid: <1616955797.13.0.901128004161.issue43649@roundup.psfhosted.org>
2021-03-28 18:23:17ede123linkissue43649 messages
2021-03-28 18:23:16ede123create