Re: [Python-Dev] 2.5.2 release coming up

2008-01-29 Thread Mike Klaas
On 22-Jan-08, at 8:47 PM, Guido van Rossum wrote: > While the exact release schedule for 2.5.2 is still up in the air, I > expect that it will be within a few weeks. This means that we need to > make sure that anything that should go into 2.5.2 goes in ASAP, > preferably this week. It also means t

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-29 Thread Martin v. Löwis
> Releasing the email package from the Python maintenance branches is > probably insane. People seem to use a lot of strong language lately. >From m-w.com: insane (adjective) 1. mentally disordered 3. absurd == ridiculously unreasonable > This kind of thing would be less of a problem if the st

Re: [Python-Dev] Slot for __trunc__

2008-01-29 Thread Guido van Rossum
On Jan 29, 2008 11:34 AM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > [GvR] > > I don't see why. __index__ has a slot because its > > primary use is to be called from C code, where slots > > add a slight performance advantage. > > __trunc__ doesn't get called from C AFAIK. > > I thought the __tr

Re: [Python-Dev] Slot for __trunc__

2008-01-29 Thread Eric Smith
Raymond Hettinger wrote: > [GvR] >> I don't see why. __index__ has a slot because its >> primary use is to be called from C code, where slots >> add a slight performance advantage. >> __trunc__ doesn't get called from C AFAIK. > > I thought the __trunc__ method only gets called from > the C cod

Re: [Python-Dev] Slot for __trunc__

2008-01-29 Thread Raymond Hettinger
[GvR] > I don't see why. __index__ has a slot because its > primary use is to be called from C code, where slots > add a slight performance advantage. > __trunc__ doesn't get called from C AFAIK. I thought the __trunc__ method only gets called from the C code for the trunc() function which is c

Re: [Python-Dev] Slot for __trunc__

2008-01-29 Thread Guido van Rossum
I don't see why. __index__ has a slot because its primary use is to be called from C code, where slots add a slight performance advantage. __trunc__ doesn't get called from C AFAIK. On Jan 29, 2008 11:04 AM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > Should the implementation of __trunc__ have

[Python-Dev] Slot for __trunc__

2008-01-29 Thread Raymond Hettinger
Should the implementation of __trunc__ have its own slot like we have for nb_index? Raymond --- [EMAIL PROTECTED] ~/py26/Objects $ grep "__trunc__" *.c floatobject.c: {"__trunc__", (PyCFunction)float_trunc, METH_NOARGS, intobject.c:{"__

Re: [Python-Dev] Py2.6 release schedule

2008-01-29 Thread Christian Heimes
Travis E. Oliphant wrote: > Yes, I will. What are your time-lines? I've been targeting first week > in March. I like to port bytearray to 2.6 as early as possible. I'd be grateful if you could port a limited subset of the new buffer protocol within the next few weeks. bytearray needs: PyBuffer

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-29 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 29, 2008, at 1:01 AM, Martin v. Löwis wrote: >> What do you think of the above? > > Sounds fine to me. I won't touch this then for the moment, > please let me know when you are done rearranging things. All done! Thanks. - -Barry -BEGIN

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-29 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 29, 2008, at 1:01 AM, Martin v. Löwis wrote: >> What do you think of the above? > > Sounds fine to me. I won't touch this then for the moment, > please let me know when you are done rearranging things. Cool, I'll try to get to this today. - -B

Re: [Python-Dev] trunc()

2008-01-29 Thread Steve Holden
Jon Ribbens wrote: > On Mon, Jan 28, 2008 at 08:07:21PM -0800, Guido van Rossum wrote: >> PS. There's something wrong with Raymond's mailer that creates a >> thread in gmail whenever he responds. I suspect it's not correctly >> adding an In-reply-to header. That makes the thread feel much more >> d

Re: [Python-Dev] trunc()

2008-01-29 Thread Steve Holden
Jeffrey Yasskin wrote: [...] > Just like set(sequence) is the set associated with that sequence, not > the set part of that sequence, and float('3.14') is the float > associated with '3.14', not the float part of '3.14', etc. Type names > do not normally retrieve pieces of other objects. >>> typ

Re: [Python-Dev] trunc()

2008-01-29 Thread Jon Ribbens
On Mon, Jan 28, 2008 at 08:07:21PM -0800, Guido van Rossum wrote: > PS. There's something wrong with Raymond's mailer that creates a > thread in gmail whenever he responds. I suspect it's not correctly > adding an In-reply-to header. That makes the thread feel much more > disconnected than most, be

Re: [Python-Dev] Incorrect documentation of the raw_input built-in function

2008-01-29 Thread Jeroen Ruigrok van der Werven
-On [20080129 00:13], Greg Ewing ([EMAIL PROTECTED]) wrote: >What document did this come from? This sounds more like it's >talking about what should be described in various sections of >a man page, not what should be written to the various streams >by a program. It did, it's