[issue33471] string format with 'n' failling with french locales

2020-01-11 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator __

[issue33471] string format with 'n' failling with french locales

2018-05-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33471] string format with 'n' failling with french locales

2018-05-15 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6535 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33471] string format with 'n' failling with french locales

2018-05-14 Thread Licht Takeuchi
Licht Takeuchi added the comment: I am working on this and have found why this is happening. I'll make PR in few days. -- nosy: +licht-t ___ Python tracker ___

[issue33471] string format with 'n' failling with french locales

2018-05-13 Thread David Vasseur
David Vasseur added the comment: >>> locale.localeconv() {'int_curr_symbol': 'EUR ', 'currency_symbol': '€', 'mon_decimal_point': ',', 'mon_thousands_sep': '\u202f', 'mon_grouping': [3, 0], 'positive_sign': '', 'negative_sign': '-', 'int_frac_digits': 2, 'frac_digits': 2, 'p_cs_precedes': 0,

[issue33471] string format with 'n' failling with french locales

2018-05-12 Thread Eric V. Smith
Eric V. Smith added the comment: After locale.setlocale(locale.LC_ALL, ''), what does local.localeconv() return? -- nosy: +eric.smith ___ Python tracker ___ ___

[issue33471] string format with 'n' failling with french locales

2018-05-12 Thread David Vasseur
New submission from David Vasseur : Python 3.6.5 (default, Apr 14 2018, 13:17:30) [GCC 7.3.1 20180406] on linux Type "help", "copyright", "credits" or "license" for more information. >>> print('{:n}'.format(int(12))) 12 <-- ok -- >>> import locale >>> locale.setlocale(locale.LC_ALL, '') 'fr_FR.