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 vstinner
Recipients corona10, ncoghlan, vstinner
Date 2020-09-03.20:54:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599166478.52.0.407889802722.issue41700@roundup.psfhosted.org>
In-reply-to
Content
I can reproduce the issue with:

$ LC_ALL=xxx ./python -m test test_c_locale_coercion -m test_PYTHONCOERCECLOCALE_set_to_one -v
(...)
======================================================================
ERROR: test_PYTHONCOERCECLOCALE_set_to_one (test.test_c_locale_coercion.LocaleCoercionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vstinner/python/master/Lib/test/test_c_locale_coercion.py", line 410, in test_PYTHONCOERCECLOCALE_set_to_one
    loc = locale.setlocale(locale.LC_CTYPE, "")
  File "/home/vstinner/python/master/Lib/locale.py", line 610, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
(...)
History
Date User Action Args
2020-09-03 20:54:38vstinnersetrecipients: + vstinner, ncoghlan, corona10
2020-09-03 20:54:38vstinnersetmessageid: <1599166478.52.0.407889802722.issue41700@roundup.psfhosted.org>
2020-09-03 20:54:38vstinnerlinkissue41700 messages
2020-09-03 20:54:38vstinnercreate