New submission from Inverness <inverness...@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)
messages: 146821
nosy: Inverness
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13320>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to