Chris Angelico added the comment:

Here's a first-cut patch. No docs, no tests, and applies only to decimal 
formatting. It involves redefining the thousands_separators flag from being a 
boolean to being a three-state flag (none, comma, or underscore), and (ab)uses 
LT_*_LOCALE to carry that same information around.

----------
keywords: +patch
Added file: http://bugs.python.org/file44152/underscores_decimal_only.patch

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

Reply via email to