STINNER Victor <victor.stin...@gmail.com> added the comment:

thousands_separator.patch:
 - Remove the unused _PyUnicode_InsertThousandsGroupingLocale() function
 - Add a test for non-ASCII thousands separator (depend on the locale)
 - _PyUnicode_InsertThousandsGrouping() expects thousands separator as a 
Unicode object and return the maximum character if unicode is NULL
 - Fix str.__format__() for non-ASCII thousands separator

Note: the patch handles also non-ASCII decimal point, even I don't know any 
locale using such point.

----------
keywords: +patch
Added file: http://bugs.python.org/file24516/thousands_separator.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13706>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to