Message295873
On my FreeBSD 11 VM, I only have the "C" locale, not "UTF-8 C" locale:
[haypo@freebsd ~/prog/python/master]$ locale -a|grep ^C
C
But CPython still asks me to use a non existent locale (newlines added for readability):
[haypo@freebsd ~/prog/python/master]$ ./python
Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available) as alternative Unicode-compatible locales is recommended.
Python 3.7.0a0 (heads/master:d79c1d4a94, Jun 13 2017, 10:59:23)
[GCC 4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)] on freebsd11
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_CTYPE, None)
'C' |
|
Date |
User |
Action |
Args |
2017-06-13 09:10:09 | vstinner | set | recipients:
+ vstinner, ezio.melotti |
2017-06-13 09:10:09 | vstinner | set | messageid: <1497345009.29.0.991202796279.issue30647@psf.upfronthosting.co.za> |
2017-06-13 09:10:09 | vstinner | link | issue30647 messages |
2017-06-13 09:10:08 | vstinner | create | |
|