Message198678
One other thought: The OrderedEnum example should not use the total ordering decorator.
To the extent that the docs are trying to teach how to use Enum, they should focus on that task and not make a side-trip into the world of class decorators. And to the extent that the docs are trying to show an example of production code, it would be better for speed and ease of tracing through a debugger to just define all four ordering comparisons. |
|
Date |
User |
Action |
Args |
2013-09-30 06:05:09 | rhettinger | set | recipients:
+ rhettinger, ncoghlan, eric.araujo, lregebro, francescor, ethan.furman, catalin.iacob, python-dev, javawizard, Jim.Jewett, Drekin, codemiller |
2013-09-30 06:05:09 | rhettinger | set | messageid: <1380521109.04.0.467350716719.issue10042@psf.upfronthosting.co.za> |
2013-09-30 06:05:09 | rhettinger | link | issue10042 messages |
2013-09-30 06:05:08 | rhettinger | create | |
|