Re: literals optimization (was Re: append on lists)

2008-09-16 Thread Grant Edwards
On 2008-09-16, Maric Michaud <[EMAIL PROTECTED]> wrote: > Le Tuesday 16 September 2008 18:26:38 Grant Edwards, vous avez ?crit?: >> I was asking where in the specification >> it says that all >> expressions that return something, return a new object. ? > > I n

Re: literals optimization (was Re: append on lists)

2008-09-16 Thread Terry Reedy
Maric Michaud wrote: Le Tuesday 16 September 2008 16:57:26 Grant Edwards, vous avez écrit : Where is that in the specification? Each literal creates a new instance, This does not answer 'where' but just adds another false claim. I just reread the Reference Manual, Lexical Analysis chapt

Re: literals optimization (was Re: append on lists)

2008-09-16 Thread Grant Edwards
On 2008-09-16, Maric Michaud <[EMAIL PROTECTED]> wrote: > Le Tuesday 16 September 2008 18:26:38 Grant Edwards, vous avez écrit : >> I was asking where in the specification >> it says that all expressions that >> return something, return a >> new object.   > > I

Re: literals optimization (was Re: append on lists)

2008-09-16 Thread Maric Michaud
Le Tuesday 16 September 2008 18:26:38 Grant Edwards, vous avez écrit : > I was asking where in the specification > it says that all expressions that > return something, return a > new object.   I never said this, I said it's the spirit of python APIs, with som

Re: literals optimization (was Re: append on lists)

2008-09-16 Thread Grant Edwards
On 2008-09-16, Maric Michaud <[EMAIL PROTECTED]> wrote: > Le Tuesday 16 September 2008 16:57:26 Grant Edwards, vous avez écrit : >> On 2008-09-16, Maric Michaud <[EMAIL PROTECTED]> wrote: >> > Le Tuesday 16 September 2008 15:57:53 Grant Edwards, vous avez écrit : >> >> On 2008-09-16, Maric Michaud

Re: literals optimization (was Re: append on lists)

2008-09-16 Thread Maric Michaud
Le Tuesday 16 September 2008 16:57:26 Grant Edwards, vous avez écrit : > On 2008-09-16, Maric Michaud <[EMAIL PROTECTED]> wrote: > > Le Tuesday 16 September 2008 15:57:53 Grant Edwards, vous avez écrit : > >> On 2008-09-16, Maric Michaud <[EMAIL PROTECTED]> wrote: > >> > all expressions that return