[Python-Dev] constant/enum type in stdlib (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 25 04:46:53 CET 2010


On 25/11/10 12:38, average wrote:

Is immutability a general need that should have general solution?

I don't think it really generalizes. Tuples are not just frozen lists, for example -- they have a different internal structure that's more efficient to create and access.

-- Greg



More information about the Python-Dev mailing list