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

Éric Araujo report at bugs.python.org
Wed Jan 19 16:28:16 CET 2011


New submission from Éric Araujo <merwok at netwok.org>:

If distutils.commands.bdist_wininst.bdist_wininst.get_inidata returns a unicode string (which is always the case in 3.x and can happen in 2.x if if you pass a unicode object as one setup argument), bdist_wininst will try to use the MBCS codec, which is not available on non-Windows OSes (see http://docs.python.org/dev/library/codecs#module-encodings.mbcs).

If someone wants to make a patch, here are some guidelines: http://wiki.python.org/moin/Distutils/FixingBugs

----------
assignee: eric.araujo
components: Distutils, Distutils2
messages: 126528
nosy: eric.araujo, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: bdist_wininst depends on MBCS codec, unavailable on non-Windows
type: behavior
versions: 3rd party, Python 2.7, Python 3.1, Python 3.2, Python 3.3

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


More information about the New-bugs-announce mailing list