diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-07-12 17:52:06 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-09-20 10:43:30 +0200 |
| commit | 1aeb58db3d0ee70946572ead7f0cf75537f87b78 (patch) | |
| tree | 4ba0940505bb586e37276b9ae96126c4e42d9c4b /sources/pyside6/doc/extras | |
| parent | 1cf5d6d13b7edbbc60a162b237731fcfcdc63daf (diff) | |
PyEnum: write about new Enums and Forgiveness Mode
The new Python enums are described in detail and the
similarities and problematic differences explained.
Then the forgiveness mode is introduced, showing that
most incompatibilities can be ignored, although this
mode is not encouraged for new code.
Task-number: PYSIDE-1735
Change-Id: Ib0d28745ce430a97a84e52522a5aa0cbbe3f3581
Pick-to: 6.3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/extras')
| -rw-r--r-- | sources/pyside6/doc/extras/QtCore.QEnum.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sources/pyside6/doc/extras/QtCore.QEnum.rst b/sources/pyside6/doc/extras/QtCore.QEnum.rst index d33134264..d42da91ab 100644 --- a/sources/pyside6/doc/extras/QtCore.QEnum.rst +++ b/sources/pyside6/doc/extras/QtCore.QEnum.rst @@ -87,6 +87,5 @@ The Python way to specify this would be class Alignment(enum.Flag): ... -We are considering to map all builtin enums and flags to Python enums as well -in a later release. - +Meanwhile we have converted all enums and flags to Python Enums (optional in ``PySide 6.3``, +default in ``PySide 6.4``), see the :ref:`NewEnumSystem` section. |
