[issue10083] locale.currency() uses different formatting than system locale for negative values

2010-10-13 Thread Bram Mariën
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

[issue10083] locale.currency() uses different formatting than system locale for negative values

2010-10-13 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I don't have a copy of Vista or 7 handy to check with. Could you tell me what locale.localeconv() returns on a non-working system and on a working system (preferably Windows XP)? -- nosy: +eric.smith

[issue10083] locale.currency() uses different formatting than system locale for negative values

2010-10-13 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10083 ___ ___

[issue10083] locale.currency() uses different formatting than system locale for negative values

2010-10-13 Thread Bram Mariën
Bram Mariën bram.mar...@gmail.com added the comment: * On Windows Vista (non working system): locale.localeconv() {'mon_decimal_point': ',', 'int_frac_digits': 2, 'p_sep_by_space': 1, 'frac_digits': 2, 'thousands_sep': '.', 'n_sign_posn': 4, 'decimal_point': ',', 'int_curr_symbol': 'EUR',

[issue10083] locale.currency() uses different formatting than system locale for negative values

2010-10-13 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: So it looks like locale.currency() is doing the right thing, given the values returned by locale.localeconv(). These values are copied from C's localeconv(), so the problem must be there. I don't see how we can do anything about it on the

[issue10083] locale.currency() uses different formatting than system locale for negative values

2010-10-13 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10083 ___