[issue36792] [Windows] time: crash on formatting time with de_DE locale

Steve Dower report at bugs.python.org
Mon May 20 11:51:44 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

I've received a detailed response from the UCRT team, and there are a few pieces here.

* the fact that tzname is cached in ACP is known and will be fixed
* the decoding bug is real, but it's due to the experimental UTF-8 support
* the experimental UTF-8 support was enabled because "de_DE" is not a known Windows locale name - try with "de-DE"

Perhaps it would be easy to do the replacement of underscores with hyphens on Windows in this function? I think that's safe enough, yes?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36792>
_______________________________________


More information about the Python-bugs-list mailing list