Message243767
Here's a patch that drops adding __definition_order__. You can get the same effect by adding `__definition_order__ = list(locals())` at the bottom of your class definition. The benefit of having `__definition_order__` is that the information is automatically available for later use rather than forcing the class author to add the above line in order to benefit from external introspection/manipulation. The downside is that every syntax-defined class will have the extra attribute with the list of definition order, which might be an unnecessary waste, even if not a huge one.
Ultimately, I'd prefer to keep `__definition_order__`. |
|
Date |
User |
Action |
Args |
2015-05-21 17:51:38 | eric.snow | set | recipients:
+ eric.snow, ncoghlan |
2015-05-21 17:51:38 | eric.snow | set | messageid: <1432230698.93.0.123569641809.issue24254@psf.upfronthosting.co.za> |
2015-05-21 17:51:38 | eric.snow | link | issue24254 messages |
2015-05-21 17:51:38 | eric.snow | create | |
|