Robert Gomułka added the comment:

As a workaround, one can:
1. Rename the fields to not use name/value names
2. Use Enum instead of IntEnum, which somehow doesn't have this bug.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31587>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to