python needs leaning stuff from other language

Tim Wintle tim.wintle at teamrubber.com
Sun Apr 5 07:38:12 EDT 2009


On Sat, 2009-04-04 at 15:36 -0500, Robert Kern wrote:
> On 2009-04-04 12:07, Tim Wintle wrote:
> >>> (I didn't expect such strong responses btw!)
> >> You are proposing the removal of a general, orthogonal feature (and breaking
> >> code in consequence!) just because of a new syntax for a single special case of
> >> that feature. That is quite simply ridiculous.
> >
> > Ok, I may have come across a little strongly (was very tired) - I'm not
> > _actually_ saying we should remove it, I'm just pointing out why
> > adding .clear() to lists seems to be unnecessary and slightly messy. The
> > suggested removal of assignments to slices is a theoretical statement.
> 
> But can you see why your wording might lead the rest of us to believe otherwise? 
>   :-)

Yes I do - sorry, I tend to check mailing lists at the end of the day
when I am quite tired.

I think I could argue 'till the cows come home about why adding .clear
feels messy to me, bu as it's not my decision in the slightest, I think
I will end this thread here ;)

Tim




More information about the Python-list mailing list