STINNER Victor <vstin...@redhat.com> added the comment: This bug is a duplicate of bpo-33954. Good news: it's now fixed in Python 3.6.8!
https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-8-release-candidate-1 "bpo-33954: For str.format(), float.__format__() and complex.__format__() methods for non-ASCII decimal point when using the ānā formatter." Note: I fixed other bugs with special locales (mostly LC_NUMERIC and/or LC_MONETARY using a different encoding than the LC_CTYPE locale). ---------- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35432> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com