Please provide a better explanation of tuples and dictionaries

Chris Angelico rosuav at gmail.com
Sun Feb 3 02:21:46 EST 2013


On Sun, Feb 3, 2013 at 6:14 PM, Michael Torrie <torriem at gmail.com> wrote:
> TL;DR: I find your list freezing proposal to be needlessly complicated.
>  No the burden of proof is not on me to explain why tuples are so.

We have a list-freezing mechanism already.

>>> list=[1,2,3,'logical']
>>> staticList=tuple(list)

Et voila! Looks fine to me.

ChrisA



More information about the Python-list mailing list