Ethan Furman added the comment:

Not having a __definition_order__ could be a disadvantage for classes making 
use of __getattr__ for virtual attributes, such as Enum and proxy classes.

With __definition_order__, and __dir__, Enum could present a coherent view; 
without it it's a big jumbled mess with many attributes the user never wrote.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24254>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to