Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-21 Thread Stephane Wirtel
* Irmen de Jong [2013-01-21 19:22:55 +0100]: > On 21-1-2013 18:16, Stephane Wirtel wrote: > > Hi Leonard, > > > > Please, could you limit your text to 80 columns, because it's > > unreadable. Your text is too long :( > > Stephane, shouldn't your news reader simply wrap the lines...? At least mi

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-21 Thread Irmen de Jong
On 21-1-2013 18:16, Stephane Wirtel wrote: > Hi Leonard, > > Please, could you limit your text to 80 columns, because it's > unreadable. Your text is too long :( Stephane, shouldn't your news reader simply wrap the lines...? At least mine does. (Thunderbird) Irmen -- http://mail.python.org/ma

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-21 Thread Stephane Wirtel
Hi Leonard, Please, could you limit your text to 80 columns, because it's unreadable. Your text is too long :( Thank you in advance. Stéphane * Leonard, Arah [2013-01-17 15:29:28 +]: > Hello fellow Python programmers, > > I'm building a 32-bit CPython 2.7.3 distro for Windows using the M

RE: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-21 Thread Leonard, Arah
Hello again Python programmers, Final update on my Python 2.7.3 build issues. After much insanity I finally used a process sniffer when running Python and tracked down that because of a path environment variable and the stupidity of Microsoft, Windows was loading another python27.dll r

RE: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Leonard, Arah
Hello Python programmers, Here's an update on my conundrum: When compiling and building CPython 2.7.3 for Win32 from source I see a 30% performance loss from the precompiled binaries in the Python 2.7.3 MSI. Everything that I do gets the same results. I've tried a standard release bu

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Stefan Krah
Leonard, Arah wrote: > By the way, do you happen to know how tricky it is to get Python 2.7.3 to > build with VS 2010? Or have any tips there? It doesn't seem to be > officially supported, but it sure would be nice to get out of the dark ages > of MS compilers and be only one version behind t

RE: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Leonard, Arah
>Try dumping the build configuration parameters: > > >>> import pprint, sysconfig > >>> pprint.pprint(sysconfig.get_config_vars()) > >Then you can compare the existing version with yours. I would absolutely love to be able to do that and have it work. Most unfortunately that only works on *n

RE: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Leonard, Arah
> I remember that some versions of Visual Studio silently completed the PGO > build without actually having PGO capabilities. :) > I think for VS 2008 at least "Professional" is needed, for VS 2010 "Ultimate". Well, that certainly sounds like Microsoft. Fortunately I'm using VS 2008 Profession

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread donarb
On Jan 17, 7: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

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Stefan Krah
Leonard, Arah wrote: > But after benchmarking a PGO build made by running the build_pgo.bat it > turns out that it made no difference whatsoever to my performance loss. > Within an acceptable statistical variation in the benchmark tool itself my > PGO build performed identically to my re

RE: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Leonard, Arah
> I think the official binaries use the PGO build. Be sure to run all tests > thoroughly, we've had problems in with the PGO build in 3.3. Thanks Stefan. I hope that's not the case. PGO seems something of an anathema from well-documented builds. Unless I'm missing something, if PGO i

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Stefan Krah
Leonard, Arah wrote: > 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 P

Re: Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Terry Reedy
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 t

Thorough Python 2.7.3 Windows Build Documentation?

2013-01-17 Thread Leonard, Arah
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 distri