<div dir="ltr"><div>Folks,</div><div><br></div><div>There were changes in the default behavior of IntEnum and it's subclasses in Python 3.10.0a5 release that caused class-definition-time errors if all of the single-bit flags were not named.  This breaks PyQt6 and a number of other projects and is being treated as a regression/release blocker by upstream [1].  I do not think any action is needed on the PyQt6 side.</div><div><br></div><div>See [2][3] for details about the change that caused this regression.</div><div><br></div>Python 3.10.0b2+ (heads/3.10:d0991e2db3, Jun  1 2021, 11:42:08) [GCC 11.1.0] on linux<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import PyQt6.QtCore<br>>>> PyQt6.QtCore.PYQT_VERSION_STR<br>'6.1.1.dev2105301600'<br>>>> PyQt6.QtCore.Qt.Key<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>  File "/home/tcaswell/.pybuild/bleeding/lib/python3.10/enum.py", line 615, in __call__<br>    return cls._create_(<br>  File "/home/tcaswell/.pybuild/bleeding/lib/python3.10/enum.py", line 762, in _create_<br>    return metacls.__new__(metacls, class_name, bases, classdict, boundary=boundary)<br>  File "/home/tcaswell/.pybuild/bleeding/lib/python3.10/enum.py", line 544, in __new__<br>    raise TypeError(<br>TypeError: invalid Flag 'DropAction' -- missing values: 8, 16, 32, 64, 128, 32768<br>>>> <br clear="all"><div><br></div><div></div><div><br></div><div>Tom</div><div><br></div><div>[1] <a href="https://bugs.python.org/issue44242">https://bugs.python.org/issue44242</a><br></div><div>[2] <a href="https://github.com/python/cpython/pull/24215" target="_blank" style="">https://github.com/python/cpython/pull/24215</a></div><div>[3] <a href="https://bugs.python.org/issue38250" target="_blank">https://bugs.python.org/issue38250</a></div><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature">Thomas Caswell<br><a href="mailto:tcaswell@gmail.com" target="_blank">tcaswell@gmail.com</a></div></div>