[Python-Dev] BRANCH FREEZE for 2.4.1 final, 2005-03-30 00:00 UTC

2005-03-29 Thread Anthony Baxter
The release24-maint branch is FROZEN from 00:00 UTC, 2005-03-30 (in about 11 hours from now). As usual, unless you're in the set (Anthony, MvL, Fred), please hold off on checkins to the branch until I send a message unfreezing it. Once we've had the appropriate brown-paper-bag time delay, the

Re: [Python-Dev] Re: comprehension abbreviation (was: Adding any() and all())

2005-03-29 Thread Josiah Carlson
Steve Holden [EMAIL PROTECTED] wrote: [...] Having to write [x for x in seq] to produce a copy of a list doesn't seem that outrageous to me, and I don't find the predicate-less case of your proposal that convincing: [x in seq] seems somehow too terse. And is already

[Python-Dev] using SCons to build Python

2005-03-29 Thread Adam MacBeth
Has anyone ever considered using SCons to build Python? SCons is a great build tool written in Python that provides some Autoconf-like functionality (http://www.scons.org). It seems like this type of self-hosting would be a great testament to the power of Python as well as helping to reinforce the

[Python-Dev] 64-bit sequence and buffer protocol

2005-03-29 Thread Travis Oliphant
I'm posting to this list to again generate open discussion on the problem in current Python that an int is used in both the Python sequence protocol and the Python buffer protocol. The problem is that a C-int is typically only 4 bytes long while there are many applications (mmap for example),

Re: [Python-Dev] using SCons to build Python

2005-03-29 Thread Bob Ippolito
On Mar 29, 2005, at 5:15 PM, Aahz wrote: On Sun, Mar 27, 2005, Adam MacBeth wrote: Has anyone ever considered using SCons to build Python? SCons is a great build tool written in Python that provides some Autoconf-like functionality (http://www.scons.org). It seems like this type of self-hosting

Re: [Python-Dev] using SCons to build Python

2005-03-29 Thread Michael Hudson
Adam MacBeth [EMAIL PROTECTED] writes: Has anyone ever considered using SCons to build Python? Well, er, there's an obvious problem here somewhere... SCons is a great build tool written in Python that provides some Autoconf-like functionality (http://www.scons.org). It seems like this type

Re: [Python-Dev] 64-bit sequence and buffer protocol

2005-03-29 Thread Martin v. Löwis
Travis Oliphant wrote: What is the opinion of people on this list about how to fix the problem. I believe Martin was looking at the problem and had told Perry Greenfield he was fixing it. Apparently at the recent PyCon, Perry and he talked and Martin said the problem is harder than he had

Re: [Python-Dev] Pickling instances of nested classes

2005-03-29 Thread Martin v. Löwis
Walter Dörwald wrote: So is this change wanted? useful? implementable with reasonable effort? Or just not worth it? I think it is just not worth it. This means I won't attempt to implement it. I think I defined originally the __module__ attribute for classes to support better pickling (and defined

Re: [Python-Dev] Pickling instances of nested classes

2005-03-29 Thread Samuele Pedroni
Walter Dörwald wrote: For XML: 1) Those classes are the element types and the nested classes are the attributes. 2) Being able to define those attributes as separate classes makes it possible to implement custom functionality (e.g. for validation or for handling certain attribute types like URLs,

Re: [Python-Dev] using SCons to build Python

2005-03-29 Thread Barry Warsaw
On Sun, 2005-03-27 at 20:55, Adam MacBeth wrote: Has anyone ever considered using SCons to build Python? SCons is a great build tool written in Python that provides some Autoconf-like functionality (http://www.scons.org). It seems like this type of self-hosting would be a great testament to

[Python-Dev] Re: comprehension abbreviation (was: Adding any() andall())

2005-03-29 Thread Terry Reedy
Steve Holden [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Having to write [x for x in seq] to produce a copy of a list doesn't seem that outrageous to me, Except for (currently) leaving the last value of sequence bound to 'x' after making the copy, how is the above

[Python-Dev] Weekly Python Patch/Bug Summary

2005-03-29 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 297 open (+11) / 2812 closed (+11) / 3109 total (+22) Bugs: 871 open ( +1) / 4900 closed (+33) / 5771 total (+34) RFE : 175 open ( +0) / 150 closed ( +0) / 325 total ( +0) New / Reopened Patches __ Decimal

Re: [Python-Dev] Re: comprehension abbreviation (was: Adding any() andall())

2005-03-29 Thread Alex Martelli
On Mar 29, 2005, at 17:41, Terry Reedy wrote: ... Steve Holden [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Having to write [x for x in seq] to produce a copy of a list doesn't seem that outrageous to me, Except for (currently) leaving the last value of sequence bound to 'x'