How to build extensions on Windows?

"Martin v. Löwis" martin at
Thu Sep 14 06:04:53 CEST 2006

John Machin schrieb:
> Hi Martin, I do hope you don't regret opening Pandora's box :-)
> Does the following look about right?

Technically, yes. I wonder whether it will generate unreadable error
messages, though (one would have to try).

> I was somewhat bemused by the limit of 200 bytes on the module name in
> the error message-- I woild have thought about 20 was more appropriate.
> Sorry but I can't test this (Windows box, don't have whatever version
> of C compiler is necessary to compile Python).

I'm not sure where this limit comes from, either. This would need to
be researched to find out whether it is just nonsensical, or, if
there is a rationale for it, whether it applies to the path name as


More information about the Python-list mailing list