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 ethan.furman
Recipients Madhav Datt, ethan.furman
Date 2017-06-02.15:23:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496416991.8.0.378742064925.issue30545@psf.upfronthosting.co.za>
In-reply-to
Content
Two points:

- Python 2.7 was the version marked, but 2.7 does not come with Enum
  (wasn't introduced until 3.4 -- the third-party backport does work
  on 2.7)

- the problem in the SO question is not caused by Enum, but by
  re-importing a module under a different name which results in two
  different Enum classes that happen to look identical, but are not --
  so the change you propose would not help; also, since Enum members
  with the same value are mapped to the same member your change does not
  provide any new behavior.

So, in summary, the bug here is in the user's code.
History
Date User Action Args
2017-06-02 15:23:11ethan.furmansetrecipients: + ethan.furman, Madhav Datt
2017-06-02 15:23:11ethan.furmansetmessageid: <1496416991.8.0.378742064925.issue30545@psf.upfronthosting.co.za>
2017-06-02 15:23:11ethan.furmanlinkissue30545 messages
2017-06-02 15:23:11ethan.furmancreate