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

2008-03-11 Thread Martin v. Löwis
>> To implement such a system, you need to get all ABI dependencies out >> of the header files; this includes the structure layouts in particular. > > That could hurt the performance of some things. Macros > like PyList_GET_ITEM etc. rely on knowing about struct > layouts to get at things quickly.

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

2008-03-11 Thread Greg Ewing
Martin v. Löwis wrote: > To implement such a system, you need to get all ABI dependencies out > of the header files; this includes the structure layouts in particular. That could hurt the performance of some things. Macros like PyList_GET_ITEM etc. rely on knowing about struct layouts to get at th

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

2008-03-11 Thread Martin v. Löwis
>>> 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 s

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

2008-03-11 Thread Stefan Behnel
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)

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

2008-03-06 Thread Greg Ewing
Alexey Borzenkov 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, How does that solve the problem of an extension using one stdio libra

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

2008-03-05 Thread Martin v. Löwis
> 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 emb

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

2008-03-05 Thread Alexey Borzenkov
On Thu, Mar 6, 2008 at 3:52 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > Mingw tends to be rather more stable (though not itself without the > occasional library compatibility issue), and more freely available. Not all extensions can be built using mingw (pywin32 comes to mind immediately). And

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

2008-03-05 Thread Steve Holden
Greg Ewing wrote: > Steven Bethard wrote: >> Is this mainly a request to use more open source tools? Because if >> the concern is just cost, Python 2.6 and 3.0 compile with the free >> Microsoft Visual Studio 2008 Express editions. > > I don't think it's only about cost, it's about not > being re

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

2008-03-05 Thread Greg Ewing
Steven Bethard wrote: > Is this mainly a request to use more open source tools? Because if > the concern is just cost, Python 2.6 and 3.0 compile with the free > Microsoft Visual Studio 2008 Express editions. I don't think it's only about cost, it's about not being reliant on tools that appear an

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

2008-03-04 Thread Stephen J. Turnbull
Greg Ewing writes: > Christian Heimes wrote: > > The latest alphas of Python 2.6 and 3.0 are build with VS 2088. > > Wow, that must be a very, very pre-alpha release... Nah, it's a version optimized for 8/16-bit segmented archi

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

2008-03-04 Thread Steve Holden
Steven Bethard wrote: > On Tue, Mar 4, 2008 at 5:10 PM, Steve Holden <[EMAIL PROTECTED]> wrote: >> Christian Heimes wrote: >> > Bob Kline wrote: >> >> Any possibility of revisiting this question (upgrading to a more recent >> >> compiler for Windows builds of Python)? >> > >> > The latest alph

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

2008-03-04 Thread Steven Bethard
On Tue, Mar 4, 2008 at 5:10 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > Christian Heimes wrote: > > Bob Kline wrote: > >> Any possibility of revisiting this question (upgrading to a more recent > >> compiler for Windows builds of Python)? > > > > The latest alphas of Python 2.6 and 3.0 are b

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

2008-03-04 Thread Christian Heimes
Greg Ewing wrote: > Christian Heimes wrote: >> The latest alphas of Python 2.6 and 3.0 are build with VS 2088. > > Wow, that must be a very, very pre-alpha release... > > Or has someone at Redmond stolen Guido's time machine? DA-LE

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

2008-03-04 Thread Steve Holden
Christian Heimes wrote: > Bob Kline wrote: >> Any possibility of revisiting this question (upgrading to a more recent >> compiler for Windows builds of Python)? > > The latest alphas of Python 2.6 and 3.0 are build with VS 2088. I've ^^

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

2008-03-04 Thread Greg Ewing
Christian Heimes wrote: > The latest alphas of Python 2.6 and 3.0 are build with VS 2088. Wow, that must be a very, very pre-alpha release... Or has someone at Redmond stolen Guido's time machine? -- Greg Ewing, Computer Science D

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

2008-03-04 Thread Bob Kline
Bob Kline wrote: > Christian Heimes wrote: > >> Is VS 2008 recent enought for you? :] >> >> > > Yes, thanks! I would hope Microsoft has fixed that bug by now. :-) > And yes, indeed, the bug is gone in Python 2.6. -- Bob Kline http://www.rksystems.com mailto:[EMAIL PROTECTED]

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

2008-03-04 Thread Bob Kline
Christian Heimes wrote: > Bob Kline wrote: > >> Any possibility of revisiting this question (upgrading to a more recent >> compiler for Windows builds of Python)? >> > > The latest alphas of Python 2.6 and 3.0 are build with VS 2088. I've > spent some time to get the new build system ready

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

2008-03-04 Thread Martin v. Löwis
> Any possibility of revisiting this question (upgrading to a more recent > compiler for Windows builds of Python)? Python 2.6 is built with Visual Studio 2008. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/m

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

2008-03-04 Thread Christian Heimes
Bob Kline wrote: > Any possibility of revisiting this question (upgrading to a more recent > compiler for Windows builds of Python)? The latest alphas of Python 2.6 and 3.0 are build with VS 2088. I've spent some time to get the new build system ready for Python 3.0a2. Is VS 2008 recent enought

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

2008-03-04 Thread Bob Kline
I know this is a topic which has been discussed before (more than once). I'm just adding one more data point. Python.org currently uses VS2003's compiler for building the distributed Windows binaries for Python. Unfortunately, there's a nasty bug in the runtime libraries that support this co