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 ncoghlan
Recipients alex, ncoghlan
Date 2013-05-12.07:56:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
That's a terrible way to express aliasing, because it's really unclear that "rectangle" is the canonical name.

By contrast:

  class Shape(Enum):
    rectangle = 2
    oblong = rectangle

leaves no doubt as to which is canonical and which is the alias. You never need to go beyond two assignments, as you can still use multiple target assignment for the aliases.
Date User Action Args
2013-05-12 07:56:05ncoghlansetrecipients: + ncoghlan, alex
2013-05-12 07:56:05ncoghlansetmessageid: <>
2013-05-12 07:56:05ncoghlanlinkissue17959 messages
2013-05-12 07:56:05ncoghlancreate