[Python-Dev] syntactic support for sets

Fredrik Lundh fredrik at pythonware.com
Fri Feb 3 13:10:33 CET 2006

Donovan Baarda wrote:

> For Python 3000 you could extend this approach to lists and dicts;
> [1,2,3] is a list, f[1,2,3] is a "frozen list" or tuple, {1:'a',2:'b'}
> is a dict, f{1:'a',2:'b'} is a "frozen dict" which can be used as a key
> in other dicts... etc.

Traceback (most recent call last):
  File "pythondev.py", line 219, in monitor
HyperGeneralizationViolationError: please let your brain cool down before proceeding

More information about the Python-Dev mailing list