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 Madhav Datt
Recipients Madhav Datt, ethan.furman
Date 2017-06-02.16:13:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496419982.19.0.338886662888.issue30545@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-06-02 16:13:02Madhav Dattsetrecipients: + Madhav Datt, ethan.furman
2017-06-02 16:13:02Madhav Dattsetmessageid: <1496419982.19.0.338886662888.issue30545@psf.upfronthosting.co.za>
2017-06-02 16:13:02Madhav Dattlinkissue30545 messages
2017-06-02 16:13:01Madhav Dattcreate