[New-bugs-announce] [issue5076] bdist_wininst fails on py3k

Mark Hammond report at bugs.python.org
Tue Jan 27 07:03:15 CET 2009

New submission from Mark Hammond <mhammond at users.sourceforge.net>:

bdist_wininst installers created by py3k fail due to PySys_SetArgv and
Py_SetProgramName both being passed 'char *' strings instead of wide

The patch is against the svn trunk as currently Python 2.x and 3.x share
the same bdist_wininst stub.  The patch doesn't change the behaviour on
Python 2.x, and continues to allow the same executable stub to be
shared, as the appropriate signature is determined at runtime based on
the Python version.

The patch does not include the 2 new stub executables required
(wininst-9.0.exe and wininst-9.0-amd64.exe), but the patch *and* the new
stub executables should be merged into whatever py3k branches are
appropriate.  I've tested (pywin32) installers based on the new stub on
python 2.6 32bit, and python 3.0 32 and 64bit.

assignee: mhammond
components: Distutils
files: wininst_py3k.patch
keywords: needs review, patch, patch
messages: 80622
nosy: mhammond
priority: high
severity: normal
stage: commit review
status: open
title: bdist_wininst fails on py3k
type: behavior
versions: Python 3.0, Python 3.1
Added file: http://bugs.python.org/file12873/wininst_py3k.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list