[Distutils] Re: Msvccompiler.py

Scott David Daniels Scott.Daniels at Acm.Org
Sun May 2 12:02:57 EDT 2004

Ivan R. Judson wrote:
> Interesting problem: sometimes you want to build extensions with a newer
> version of the compiler than the python interpreter was built with.
The problem is that Microsoft feels free to redefine how function calls,
for example, are translated between versions of their compiler.  Calls
across versions of Microsoft's C compiler are as fragile as calls
between modules translated by different Python versions.

> Sometimes you want to be smarter than the machine, so it would be very handy
> to have some manual override in msvccompiler.py, in get_build_version(),
> perhaps something like:
Seems a dicey proposition to me.  The chances of getting subtle bugs
in the translation would rise as far as I can tell.

-Scott David Daniels
Scott.Daniels at Acm.Org

More information about the Distutils-SIG mailing list