Emanuel Barry added the comment:

I'm fairly sure enums aren't related to this issue, so I'm unassigning Ethan 
(but feel free to self-assign back if you so desire :). As I said on IRC (I'm 
Vgr), I think that importing a module twice is the problem here, and that PEP 
499 is the way to properly solve this and related issues. Thanks for opening 
this issue!

I added Cameron Simpson (PEP 499's author) to the nosy list, hoping he still 
wants to work on this (and let us know otherwise). I would personally like to 
see the PEP accepted and implemented for 3.6.

----------
assignee: ethan.furman -> 
nosy: +cameron, ebarry
title: Enums never match if imported from another file -> Importing the main 
module twice leads to two incompatible instances
versions: +Python 3.6 -Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27607>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to