Madhav Datt added the comment:

Thanks a lot for those points Ethan. I feel I haven't done a very good job of 
explaining the bug, but let me use an example. Let's say we have an Enum called 
MyEnum, which is in a Python module called ModuleA. ModuleB imports ModuleA, 
and ModuleC imports both, ModuleA and ModuleB. Now, in ModuleC, I have 
ModuleB.some_function() return a MyEnum state, which I pass as a parameter to 
ModuleA.other_function() where it is compared to MyEnum states. Here the 
comparison fails even though it should not have. Obviously, this problem would 
not arise without such imports, and so is pretty specific, but I hope this 
makes explains it a little better.

----------
status: closed -> open

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

Reply via email to