我试图找出用于在我的计算机上编译 Python 的 VisualStudio 版本
上面说
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
我不明白的是这个 MSC V.1500的名称。这是否意味着它是用 VisualStudio2005编译的?我在 http://python.org上找不到这个信息。
MSC V.1500
MSC v.1500 appears to be Visual C++ 2008 according to this thread on the OpenCobol forums (of all places).
MSC v.1500
The MSDN page on Predefined Macros indicates 1500 to be the result of the _MSC_VER macro.
_MSC_VER
This other forum post mentions that
(For reference, Visual Studio 2003 has _MSC_VER = 1310; Visual Studio 2005 has _MSC_VER = 1400; Visual Studio 2008 has _MSC_VER = 1500.)
The above MSDN link said that 1600 indicates VS2010.
Strangely, I wasn't able to find that info about the earlier _MSC_VER values on MSDN.
Source: the documentation for the _MSC_VER predefined macro