PEP 218 Re: ANN: set-0.1 module available

Erik Max Francis max at alcyone.com
Fri May 17 15:41:50 EDT 2002


"James J. Besemer" wrote:

> "Denis S. Otkidach" wrote:
> 
> > On Thu, 16 May 2002, Roman Suzi wrote:
> >
> > That's to complex.  Maybe sets should be always immutable like
> > tuples?
> 
> Python has clear precedent for doing so, in that strings, tuples
> and long integers all are immutable.

Why is that a precedent?  Lists aren't immutable, and you're as likely
to want to add and remove objects from a set as you are to modify a
list.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Who'd ever think it / Such a squalid little ending
\__/ The American and Florence, _Chess_
    Church / http://www.alcyone.com/pyos/church/
 A lambda calculus explorer in Python.



More information about the Python-list mailing list