Just quickly thinking a little out of the box.
On 13 February 2013 09:29, Jonathan Slenders <jonathan@slenders.be> wrote:
Is a new enum keyword still a possibility? To me that seems to be thecleanest way.I was just thinking the same. We don't like to have more syntax than necessary, but we should also not introduce too much magic...
That's my conclusion as well. To get a nice* enum with guaranteed semantics and no edge cases, I think it needs parser support.* for my definition of "nice".Tim Delaney
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas