[New-bugs-announce] [issue13320] _remove_visual_c_ref in distutils.msvc9compiler causes DLL load fail with embedded Python and multiple CRT versions
report at bugs.python.org
Wed Nov 2 02:17:14 CET 2011
New submission from Inverness <inverness910 at gmail.com>:
I am using a custom Python executable for an application I'm developing. I also build PYDs to extend this Python environment. I decided to upgrade them and my executable to use Visual C++ 10 while the Python DLL and other third party PYDs, specifically wxPython, continued to use Visual C++ 9. Doing this did not cause an issue in and of itself, however, my wxPython release, but not debug, PYDs were failing to load the VC9 CRT.
I discovered this is a result of MSVCCompiler._remove_visual_c_ref() being called in the module disutils.msvc9compiler. I had to comment out this line in order to rebuild wxPython and get my program running correctly.
I'm requesting this feature of the compiler be made optional.
components: Library (Lib)
title: _remove_visual_c_ref in distutils.msvc9compiler causes DLL load fail with embedded Python and multiple CRT versions
type: feature request
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce