Talin wrote:
> My personal feeling on this issue is that just because the "keyword=X" 
> syntax opens up other possibilities, doesn't mean we have to use them.

Even if the syntax was never used for anything else,
I still don't like it. Metaclasses are an elegant
concept that deserves an equally elegant syntax.
To my eyes, the keyword proposal just swaps one
ugly syntax for another.

The main use case for all this seems to be that
some metaclasses would like to know the order in
which attributes were defined. So here's an
alternative proposal: Leave the syntax the way it
is, and *always* use a specialised dict that
remembers the order of definition. The metaclass
can then use that information or ignore it as it
wishes.

--
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