Message271195
I would expect isintance() to fail like this for any class, not just Enum. I haven’t looked in your zip file, but a workaround may be to import the Enum class from a third module into both main.py and the other file. The third module should only get executed once, thus only defining one copy of the Enum class. |
|
Date |
User |
Action |
Args |
2016-07-25 00:49:50 | martin.panter | set | recipients:
+ martin.panter, rhettinger, r.david.murray, ethan.furman, SylvieLorxu, Kwpolska |
2016-07-25 00:49:50 | martin.panter | set | messageid: <1469407790.7.0.895664812074.issue27607@psf.upfronthosting.co.za> |
2016-07-25 00:49:50 | martin.panter | link | issue27607 messages |
2016-07-25 00:49:50 | martin.panter | create | |
|