diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-06-21 10:22:04 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-07-14 14:35:42 +0200 |
| commit | da2cf031521815a9559ca784beadb70c7a2852d9 (patch) | |
| tree | d403b5f32c73d0876af8da3a93e376ca39df856c /sources/pyside6/tests/pysidetest/enum_test.py | |
| parent | 2720e01f21f3771cb755ef183b8160f691bdb575 (diff) | |
PyEnum: make forgiving duplicates work with Python 3.11
There was a silent change in PyEnums that turns Enum attributes
into properties. This does not harm the Python interface but
needed some change in the duplication emulation.
Furthermore, new internal enums are created with an underscore name.
The meta class was changed from EnumMeta to EnumType.
[ChangeLog][shiboken6] The new Python Enums are now compatible with Python 3.11
Change-Id: I3b1ab63dc5eed15a75ebd0f42dddf4001f640c00
Pick-to: 6.3
Task-number: PYSIDE-1735
Fixes: PYSIDE-1960
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/pysidetest/enum_test.py')
0 files changed, 0 insertions, 0 deletions
