Message295032
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. |
|
Date |
User |
Action |
Args |
2017-06-02 16:13:02 | Madhav Datt | set | recipients:
+ Madhav Datt, ethan.furman |
2017-06-02 16:13:02 | Madhav Datt | set | messageid: <1496419982.19.0.338886662888.issue30545@psf.upfronthosting.co.za> |
2017-06-02 16:13:02 | Madhav Datt | link | issue30545 messages |
2017-06-02 16:13:01 | Madhav Datt | create | |
|