25 Aug
2012
25 Aug
'12
8:36 p.m.
"Martin v. L?wis"
- each CRT has its own locale. This may be an issue if an extension module relies on the CRT locale for data formatting; I just think this is unlikely to occur in practice (and when it does, it's easily notable).
_decimal's 'n' format specifier actually relies on the CRT locale. The functions in question are in libmpdec, so on Windows it is not possible to compile a static libmpdec and build the module from that. Well, it's possible, but setting the locale from Python then has no effect on the module, IIRC. Stefan Krah