[issue4365] Add CRT version info in msvcrt module

Cournapeau David report at bugs.python.org
Thu Nov 20 16:55:44 CET 2008


New submission from Cournapeau David <david at ar.media.kyoto-u.ac.jp>:

This patch if the first part to follow discussion on python-list
concerning problems when using distutils.config.try_run with mingw and
manifest problems on windows for python 2.6 (or any python built with
recent VS).

It simply adds strings constant got the msvcrt module, so that they can
be queried in distutils to generate manifest on the fly if needed. I
don't know which approach is best to deal with conditional compilation:
for now, I simply do not add the constants if the constants are not
defined at the C level, but this does not strike as a great idea to me.

----------
components: Windows
files: msvcrt_version_info.diff
keywords: patch
messages: 76112
nosy: cdavid
severity: normal
status: open
title: Add CRT version info in msvcrt module
versions: Python 2.7
Added file: http://bugs.python.org/file12074/msvcrt_version_info.diff

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


More information about the Python-bugs-list mailing list