Am 10.02.2013 12:37 schrieb Steven D'Aprano:

So, in Python 4000, my vote is for set literals { } to create frozensets,
and if you want a mutable set, you have to use the set() type directly.

4000 sounds about long future.

In the meanwhile, a new syntax element could be introduced fpr frozensets, such as {{ }} or something. (Although that might clutter with a set containing a set.)


Thomas
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to