[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

STINNER Victor report at bugs.python.org
Tue Mar 13 13:53:43 CET 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

> Would the proposed change mean that a bdist_wininst built
> with 3.2.0 won’t work with a patched 3.2.3?

The installer doesn't use distutils to read its configuration, so such binary runs with any installed Python version.

> bdist_msi decodes data read from setup.py with MBCS on Windows;
> on other OSes, couldn’t the locale preferred encoding be used?

It would be worse: Linux doesn't use Windows code page. Most modern OSes are now using UTF-8 locale encoding, whereas Windows never use UTF-8 as the ANSI code page.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10945>
_______________________________________


More information about the Python-bugs-list mailing list