Re: [Python-Dev] Mutable sequence .sort() signature

2008-02-12 Thread Raymond Hettinger
[Kurt] > Looking at the various py3k docs and mail lists, etc. I just can't > find the specification and discussion of the signature change > eliminating the comparison function (so far)! There is a note Misc/NEWS and I believe the 2-to-3 folks are looking at a conversion. The Py3.0 docs have the

Re: [Python-Dev] Mutable sequence .sort() signature

2008-02-12 Thread Guido van Rossum
On Feb 12, 2008 8:10 PM, Kurt B. Kaiser <[EMAIL PROTECTED]> wrote: > "Guido van Rossum" <[EMAIL PROTECTED]> writes: > > > Also, pretty prominent, in the what's new in 3.0 doc. > > By 'prominent', are you suggesting putting it near the bottom of the > "Common Stumbling Blocks" section, as opposed to

Re: [Python-Dev] Mutable sequence .sort() signature

2008-02-12 Thread Kurt B. Kaiser
"Guido van Rossum" <[EMAIL PROTECTED]> writes: > Also, pretty prominent, in the what's new in 3.0 doc. By 'prominent', are you suggesting putting it near the bottom of the "Common Stumbling Blocks" section, as opposed to the "Other Language Changes" section? I can work up a short patch. -- KBK

Re: [Python-Dev] Mutable sequence .sort() signature

2008-02-12 Thread Guido van Rossum
Also, pretty prominent, in the what's new in 3.0 doc. On Feb 12, 2008 6:39 PM, Kurt B. Kaiser <[EMAIL PROTECTED]> wrote: > Raymond Hettinger <[EMAIL PROTECTED]> writes: > > > [Kurt] > >> Looking at the various py3k docs and mail lists, etc. I just can't > >> find the specification and discussion o

[Python-Dev] Odom

2008-02-12 Thread Raymond Hettinger
def mrange(minvec, maxvec=None): if maxvec is None: maxvec = minvec minvec = [0] * len(maxvec) vec = list(minvec) unitpos = len(vec) - 1 maxunit = maxvec[unitpos] _tuple = tuple while 1: if vec[unitpos] == maxunit: i = unitpos

Re: [Python-Dev] Mutable sequence .sort() signature

2008-02-12 Thread Kurt B. Kaiser
Raymond Hettinger <[EMAIL PROTECTED]> writes: > [Kurt] >> Looking at the various py3k docs and mail lists, etc. I just can't >> find the specification and discussion of the signature change >> eliminating the comparison function (so far)! > > There is a note Misc/NEWS and I believe the 2-to-3 fol

[Python-Dev] PyCon: deadline for hotel reservations and early-bird registration coming soon!

2008-02-12 Thread David Goodger
If you haven't registered for PyCon yet, now is the time! The early-bird registration deadline is February 20, one week away. After that, the price for registration will be going up. http://us.pycon.org/2008/registration/ The deadline for hotel reservations at the conference rate is also F

[Python-Dev] Preventing merges into Py3k

2008-02-12 Thread Guido van Rossum
On Feb 12, 2008 9:44 AM, thomas.heller <[EMAIL PROTECTED]> wrote: > Author: thomas.heller > Date: Tue Feb 12 18:44:23 2008 > New Revision: 60746 > > Modified: >python/branches/py3k/Modules/_ctypes/_ctypes.c > Log: > Revert the last svnmerge (r60681) from trunk to _ctypes.c, it should > not have

[Python-Dev] [Fwd: Re: int/float freelists vs pymalloc]

2008-02-12 Thread Andrew MacIntyre
[fwd as reply was intended for python-dev] Christian Heimes wrote: > Andrew MacIntyre wrote: >> I tried a LIFO stack implementation (though I won't claim to have done it >> well), and found it slightly slower than no freelist at all. The >> advantage of such an approach is that the known size of t

Re: [Python-Dev] svn repo out of disk?

2008-02-12 Thread Steve Holden
Aahz wrote: > On Mon, Feb 11, 2008, Steve Holden wrote: >> Douglas Napoleone wrote: >>> Not sure if this is effecting the core svn repository or not, but the >>> conference software (also hosted at svn.python.org) is reporting that >>> the disk is full: >>> >>> [...] >> Doug: >> >> You may not be a

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-12 Thread Christian Heimes
Andrew MacIntyre wrote: > I seem to recall Tim Peters paying a lot of attention to cache effects > when he went over the PyMalloc code before the 2.3 release, which would > contribute to its performance. Well, I guess we have to ask Uncle Tim on this matter and ask for his opinion. I've no experie