Bernd Meiners <bernd.mein...@mail.de> added the comment:

Microsoft Windows [Version 10.0.17763.437]
(c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\bmx>python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import time,locale
>>> locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
>>> time.localtime()

---> python crashes, same with 'de_DE.UTF-8'

In contrast Python 3.6 raises an error about an invalid locale

----------
nosy: +bmx

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36319>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to