Kendall Clark wrote:

> One thing I'd really like to see in Python 3000 is support for first- 
> class symbols, with literal syntax.

Actually I think enumerations would be more useful than
symbols. There's no essential difference between a symbol
and an interned string. The only real disadvantage to
using strings as symbols is that you don't get an
immediate NameError if you misspell one. A symbol type
wouldn't solve that problem; enumerations would.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to