[New-bugs-announce] [issue42953] After the subclass of enum.Enum is imported in some diffenent ways, the same enumeration value is judged as False

Chenxi Liu report at bugs.python.org
Mon Jan 18 02:31:23 EST 2021


New submission from Chenxi Liu <liuchenxirs at 163.com>:

When you run the test.py in attachment, it will print a False but the two enumeration value which are acquired in different ways is same

----------
components: Library (Lib)
files: test.zip
messages: 385174
nosy: Lcx994611818
priority: normal
severity: normal
status: open
title: After the subclass of enum.Enum is imported in some diffenent ways, the same enumeration value is judged as False
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file49747/test.zip

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42953>
_______________________________________


More information about the New-bugs-announce mailing list