aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/init_paths.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2020-05-04 17:38:04 +0200
committerChristian Tismer <tismer@stackless.com>2020-05-18 18:11:15 +0200
commitc82ec2bcbdf4db8fc83fefaec6377aaf2bb3614b (patch)
treec52df7a209ac3a4d697e7a88e7fbdffdf2f7bc91 /sources/pyside2/tests/init_paths.py
parentef10f62e66a3f409d0077c36f3849c87f96950d2 (diff)
Support pickling of Qt Enum objects
Pickling for types exists in most cases. Pickling of Qt Enum objects works fine. Pickling of Qt Enum types is supported, but does not work because the builtin type pickling intercepts and then fails.. This problem is now solved because PySide supports now __qualname__. So pickling of nested types works now without any extra code in Python 3. Python 2 is not supported since it would require too strange patches to Python itself. Fixes: PYSIDE-15 Task-number: PYSIDE-1286 Change-Id: I346bde07a63afcf2555a3324fcca04efe25e704a Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/init_paths.py')
0 files changed, 0 insertions, 0 deletions