Message275580
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. |
|
Date |
User |
Action |
Args |
2016-09-10 06:46:28 | ethan.furman | set | recipients:
+ ethan.furman, brett.cannon, ncoghlan, vstinner, fijall, python-dev, eric.snow, berker.peksag |
2016-09-10 06:46:28 | ethan.furman | set | messageid: <1473489988.37.0.702441245646.issue24254@psf.upfronthosting.co.za> |
2016-09-10 06:46:28 | ethan.furman | link | issue24254 messages |
2016-09-10 06:46:28 | ethan.furman | create | |
|