[Python-Dev] Re: Sets: elt in dict, lst.include

Fredrik Lundh fredrik@effbot.org
Tue, 30 Jan 2001 23:45:16 +0100


> Only if PyList_SetItem refuses to handle 'frozen' lists. In my eyes,
> 'frozen' lists should still pass PyList_Check(), but also PyList_Frozen()
> (or whatever), and methods/operations that modify the listobject would have
> to check if the list is frozen, and raise an appropriate error if so. This
> might throw 'unexpected' errors.

did someone just subscribe me to the perl-porters list?

-1 on "modal freeze" (it's madness)
-0 on an "immutable dictionary" type in the core