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 martin.panter
Recipients Kwpolska, SylvieLorxu, ethan.furman, martin.panter, r.david.murray, rhettinger
Date 2016-07-25.00:49:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469407790.7.0.895664812074.issue27607@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-07-25 00:49:50martin.pantersetrecipients: + martin.panter, rhettinger, r.david.murray, ethan.furman, SylvieLorxu, Kwpolska
2016-07-25 00:49:50martin.pantersetmessageid: <1469407790.7.0.895664812074.issue27607@psf.upfronthosting.co.za>
2016-07-25 00:49:50martin.panterlinkissue27607 messages
2016-07-25 00:49:50martin.pantercreate