Thomas Caswell <[email protected]> added the comment:
This change also affects PyQt6:
Python 3.10.0b2+ (heads/3.10:d0991e2db3, Jun 1 2021, 11:42:08) [GCC 11.1.0] on
linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt6.QtCore
>>> PyQt6.QtCore.PYQT_VERSION_STR
'6.1.1.dev2105301600'
>>> PyQt6.QtCore.Qt.Key
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tcaswell/.pybuild/bleeding/lib/python3.10/enum.py", line 615, in
__call__
return cls._create_(
File "/home/tcaswell/.pybuild/bleeding/lib/python3.10/enum.py", line 762, in
_create_
return metacls.__new__(metacls, class_name, bases, classdict,
boundary=boundary)
File "/home/tcaswell/.pybuild/bleeding/lib/python3.10/enum.py", line 544, in
__new__
raise TypeError(
TypeError: invalid Flag 'DropAction' -- missing values: 8, 16, 32, 64, 128,
32768
>>>
> remove the creation time check (which will remove the error for the OP), and
> then add a decorator to the enum module that does that creation time check
I am very supportive of this plan!
Could this be labeled as a higher priority / release blocker?
----------
nosy: +tcaswell
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com