homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients alex, barry, dilettant, eric.smith, ethan.furman, gvanrossum, ncoghlan, pitrou
Date 2013年05月13日.14:26:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20130513102647.298d1124@limelight.wooz.org>
In-reply-to <1368341497.6.0.896861896968.issue17959@psf.upfronthosting.co.za>
Content
On May 12, 2013, at 06:51 AM, Nick Coghlan wrote:
>>>> class Shape(Enum):
>... square = 2
>... diamond = 1
>... circle = 3
>... alias_for_square = square
I see Guido pronounced against it, but I'm just registering that I kind of
like this. You could probably have guess that since flufl.enum doesn't allow
aliases at all mostly because of the potential for accidental duplicate
values, which this would avoid.
Hmm. LP: #1179529
History
Date User Action Args
2013年05月13日 14:26:48barrysetrecipients: + barry, gvanrossum, ncoghlan, pitrou, eric.smith, alex, ethan.furman, dilettant
2013年05月13日 14:26:48barrylinkissue17959 messages
2013年05月13日 14:26:48barrycreate

AltStyle によって変換されたページ (->オリジナル) /