-
Notifications
You must be signed in to change notification settings - Fork 139
Open
@skirpichev
Description
I'm certainly not an expert on the locale module, but this seems odd, especially on the same system.
Example:
Python 3.13.5 (tags/v3.13.5:6cb20a219a, Jun 27 2025, 19:37:25) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(locale.LC_ALL, 'ru_RU.UTF-8') 'ru_RU.UTF-8' >>> locale.localeconv()['thousands_sep'] '\u202f'
vs
Python 3.11.7 (Wed Apr 02 19:57:13 UTC 2025)
[Graal, Oracle GraalVM, Java 24.0.1 (amd64)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'ru_RU.UTF-8')
'ru_RU.UTF-8'
>>> locale.localeconv()['thousands_sep']
'\xa0'
Metadata
Metadata
Assignees
Labels
No labels