[Python-Dev] Compiler used to build Python for Windows

Stefan Behnel stefan_ml at behnel.de
Tue Mar 11 15:04:43 CET 2008


Martin v. Löwis wrote:
>> I think the best lesson here is Tcl. Because it uses stubs mechanism,
>> you don't need to depend on tclXX.dll, you don't deal with really
>> direct implementation details, you don't care about runtimes,
>> everything is much easier. Maybe it's possible (and not too late) for
>> Python to somehow embrace such mechanism?
> 
> It would be possible, but it would be a fairly large project. You would
> have to remove a lot of things from the Python header files, and that
> would cause significant breakage in existing extension modules.

Hmm, would it? I mean, you can currently build extensions with MinGW (at least
from what I heard, I never managed to do so as it would require cross
compiling for Windows), so why would you say you'd have to update the header
files?

Stefan



More information about the Python-Dev mailing list