[Python-Dev] Windows compiler for Python 2.6+
Chris AtLee
chris at atlee.ca
Wed Feb 28 23:24:29 CET 2007
On 2/28/07, Josiah Carlson <jcarlson at uci.edu> wrote:
> "Chris AtLee" <chris at atlee.ca> wrote:
> > I just got bitten by the runtime library incompatibility problem on
> > windows when I tried to load a C extension compiled with MSVC 2005
> > (64-bit) into Python 2.5.
>
> I would guess it is more an issue of 32bit + 64bit dynamic linking
> having issues, but I could certainly be wrong.
I don't think so, this was the 64bit version of Python 2.5. When I
recompiled with the 2003 compiler it worked fine.
> > I realize that Python2.5 will continue to use MSVC 2003 for
> > compatibility reasons, but I was curious if any thought had been given
> > to the future of the 2.x series.
>
> IIUC, there exists a project file in PCBUILD8 for compiling with MSVC
> 2005. You should be able to recompile Python 2.5 with that compiler,
> though you may need to change some things (I've never tried myself).
That is kind of a last-resort for me...I'd like for my code to work
with all the other python extensions out there, which is why I
switched to the 2003 compiler for now.
More information about the Python-Dev
mailing list