[Python-Dev] Python 2.7: only Visual Studio 2008?

martin at v.loewis.de martin at v.loewis.de
Tue Aug 21 17:01:21 CEST 2012


Zitat von Brian Curtin <brian at python.org>:

> On Tue, Aug 21, 2012 at 5:24 AM, Luc Bourhis <luc_j_bourhis at mac.com> wrote:
>> Greetings,
>>
>> it is my understanding that the patches floating around the net to  
>> support Visual Studio 2010 to compile the Python core and for  
>> distutils will never be accepted and therefore that the 2.7 line is  
>> stuck to VS 2008 for the remaining of its life. Could you please  
>> confirm that?
>
> This is correct. A compiler upgrade is a feature

In the specific case, this isn't actually the limiting factor.
Instead, it's binary compatibility: binaries compiled with VS 2010
are incompatible (in some cases) with those compiled with VS 2008.
So if the python.org binaries were released as compiler outputs
from VS 2010, exising extensions modules might crash Python. Therefore,
we cannot switch.

Maintaining a VS 2010 build process along with the VS 2008 process
would be a new feature, indeed. Fortunately, Mercurial makes it easy
enough to maintain such patches in a ways that allows simple tracking of
changes applied to 2.7 itself, for anybody with enough interest to do
so.

Regards,
Martin




More information about the Python-Dev mailing list