[Python-ideas] Support other dict types for type.__dict__

Ethan Furman ethan at stoneleaf.us
Mon Feb 27 19:46:49 CET 2012


> I suggested a "mutable" attribute some time ago.
> This could lead to finally doing away with one of Python's FAQs: Why 
> does python have lists AND tuples?  They could be unified into a single 
> type.

If a tuple is just an immutable list it will become worse with regards 
to performance and memory space.

~Ethan~



More information about the Python-ideas mailing list