Thorough Python 2.7.3 Windows Build Documentation?

Terry Reedy tjreedy at udel.edu
Thu Jan 17 10:55:10 EST 2013


On 1/17/2013 10:29 AM, Leonard, Arah wrote:
> Hello fellow Python programmers,
>
> I’m building a 32-bit CPython 2.7.3 distro for Windows using the MS
> Visual Studio Professional 2008 SP1 (and all hotfixes) MSVC 9 compiler.
> My build works, technically, but it also happens to benchmark over 30%
> slower than the precompiled binaries in the distributed Python 2.7.3
> MSI.  Can anyone point me in the direction of some thoroughly detailed
> build documentation so that I can figure out how to get that 30% back
> with my build?  The only documentation that I can find just says MSVC 9,
> period.  There’s no mention of SP1 or not, hotfixes, nor of any specific
> compiler/linker optimizations used to build the official distro.
> Something, somewhere, has to be significantly different between our
> builds for a 30% performance difference, and it’d probably be handy for
> the Python community to know how to avoid the same pitfall that cost me
> performance so that we can all get the most out of Python.  Any and all
> help will be greatly appreciated.  Thanks.

The 'documentation' of how we build Python on Windows is the PCBuild 
directory in the source tree.

-- 
Terry Jan Reedy





More information about the Python-list mailing list