[issue17056] Support Visual Studio 2012

Steve Dower report at bugs.python.org
Mon Jul 14 17:43:12 CEST 2014


Steve Dower added the comment:

msvc9compiler should not look for any versions of MSVC other than 9.0, since extensions built using other versions will be subtly (or dramatically) incompatible with Python unless you also rebuild Python itself with the same MSVC version.

You can set DISTUTILS_USE_SDK=1 and run from the VS 2012 Developer Command Prompt (or otherwise configure your environment) if you are willing to accept the risk, but ensure you test the built extension thoroughly.

Hopefully, 3.5 will switch to the next version of MSVC (14) and will be able to detect and use all later releases, so this particular problem won't exist in the future. There's nothing we can/will do for 2.x at this stage.

----------

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


More information about the Python-bugs-list mailing list