summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2004-07-06 19:23:27 (GMT)
committerThomas Heller <theller@ctypes.org>2004-07-06 19:23:27 (GMT)
commita146feaa10f2f18a89a3fa21d04579b5c2bf6969 (patch)
treeceffde5ecf1767507846e019b7aa5c02ae9e592a /Python/pystate.c
parent5124b4a082552225f3c54fedb6836fbb1613e170 (diff)
downloadcpython-a146feaa10f2f18a89a3fa21d04579b5c2bf6969.zip
cpython-a146feaa10f2f18a89a3fa21d04579b5c2bf6969.tar.gz
cpython-a146feaa10f2f18a89a3fa21d04579b5c2bf6969.tar.bz2
Fix SF#983164.
Patch from Mark Hammond: bdist_wininst attempts to use the correct MSVC runtime for the current version of Python. This doesn't work correctly when --target-version is set. In that case, bdist_wininst still uses the *current* sys.version (ie, 2.4) rather than the version specified as --target-version. Thus, the msvc7 runtime based executable stub is *always* used. This patch "hard-codes" knowledge of earlier Python versions, providing the correct result when Python 2.4 is used to build Python 2.3 and earlier distributions. Remove the short variant (-v) of the --target-version command line options, it conflicts with the --verbose/-v standard distutils switch.
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions