You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EnumMeta.__new__ should use enum_class.__new__ #78263
bpo-29577: Enum: mixin classes don't mix well with already mixed Enums
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ethanfurman'closed_at=<Date2018-09-11.01:21:40.505>created_at=<Date2018-07-10.09:43:46.589>labels= ['type-bug', 'library']
title='EnumMeta.__new__ should use enum_class.__new__'updated_at=<Date2018-09-11.01:21:40.504>user='https://github.com/rs2'
Activity
rs2 commentedon Jul 10, 2018
Failsfails to be created with an error:TypeError: object.__new__(Fails) is not safe, use Fails.__new__()See
cpython/Lib/enum.py
Line 205 in e57f91a
ethanfurman commentedon Sep 11, 2018
The solution to 29577 will also fix this.