Author rhettinger
Recipients Drekin, Jim.Jewett, catalin.iacob, codemiller, eric.araujo, ethan.furman, francescor, javawizard, lregebro, ncoghlan, python-dev, rhettinger
Date 2013-09-30.06:05:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380521109.04.0.467350716719.issue10042@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-09-30 06:05:09rhettingersetrecipients: + rhettinger, ncoghlan, eric.araujo, lregebro, francescor, ethan.furman, catalin.iacob, python-dev, javawizard, Jim.Jewett, Drekin, codemiller
2013-09-30 06:05:09rhettingersetmessageid: <1380521109.04.0.467350716719.issue10042@psf.upfronthosting.co.za>
2013-09-30 06:05:09rhettingerlinkissue10042 messages
2013-09-30 06:05:08rhettingercreate