This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tcaswell
Recipients John Belmonte, Manjusaka, ethan.furman, hauntsaninja, hroncok, jbelmonte, pablogsal, tcaswell, veky
Date 2021-06-04.22:47:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622846879.42.0.790312673431.issue44242@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2021-06-04 22:47:59tcaswellsetrecipients: + tcaswell, jbelmonte, ethan.furman, veky, hroncok, pablogsal, Manjusaka, John Belmonte, hauntsaninja
2021-06-04 22:47:59tcaswellsetmessageid: <1622846879.42.0.790312673431.issue44242@roundup.psfhosted.org>
2021-06-04 22:47:59tcaswelllinkissue44242 messages
2021-06-04 22:47:59tcaswellcreate