[Python-Dev] Python 2.7: only Visual Studio 2008?

Stefan Krah stefan at bytereef.org
Sat Aug 25 19:36:36 CEST 2012


"Martin v. L?wis" <martin at v.loewis.de> wrote:
> - 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




More information about the Python-Dev mailing list