New submission from Bram Mariën <bram.mar...@gmail.com>: On Windows Vista and Windows 7 (XP and Ubuntu seem ok):
If the system locale is used (using locale.setlocale(LC_ALL, '') and the system locale is set to dutch belgium: If the regional options are set to format negative monetary items as "<EURO sign> -<value>", than locale.currency(value) will format it as "<EURO sign)value-". Other formatting options works ok: e.g. if the regional settings display negative monetary items as "(value)", than "locale.currency(value)" will also display "{value)". Reproducable on Python 2.6.x, 2.7.x and 3.1.2 on Windows Vista (32 bit) ---------- components: Windows files: locale_currency_negative.JPG messages: 118509 nosy: bram.marien priority: normal severity: normal status: open title: locale.currency() uses different formatting than system locale for negative values type: behavior versions: Python 2.6, Python 2.7, Python 3.1 Added file: http://bugs.python.org/file19213/locale_currency_negative.JPG _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10083> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com