[Python-Dev] MS VC 7 offer

Tim Peters tim.one@comcast.net
Tue, 06 May 2003 16:50:18 -0400


[Alex Martelli]
> When we discussed VC versions (back when we met in Ofxord during
> PythonUK/ACCU), David Abrahams seemed adamant that VC7 and VC6
> are indeed compatible

[Martin v. Lowis]
> I doubt he said this in this generality: he surely knows that you
> cannot mix C++ objects files on the object file level between those
> compilers, as they implement completely different ABIs.
>
> For Python, the biggest problem is that you cannot pass FILE* from one C
> library to the other, because of some stupid locking test in the C
> library. This does cause crashes when you try to use Python extension
> modules compiled with the wrong compiler.

And not the only problem.  Review the "PyObject_New vs PyObject_NEW" thread
from python-dev in March.  This snippet sums it up:

    [David Abrahams]
    > Python was compiled with vc6, the rest with vc7.  I test this
    > combination regularly and have never seen a problem.

    [Tim]
    You have now <wink>.