aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pyside.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-11-03 09:53:13 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-11-03 14:10:00 +0100
commit2aff6a35a9aa2f233c9801456daa6986437d2647 (patch)
treea677819e66ba4fd6cf59f408eb8f313bb2659c1a /sources/pyside6/libpyside/pyside.cpp
parentc1fbb035daf8940fd134bb9065da1154af225bd0 (diff)
PySide6/Property: Fix read-only properties when using the decorator syntax
The @setter decorator causes the property to be recreated with Py_None set for the non-existent members, apparently due to a long-closed Python bug (see_property_copy()). As a band-aid fix, check for Py_None. Fixes: PYSIDE-3227 Pick-to: 6.10 Change-Id: Ib818e9930bd598306270377e26e625bfa9692a92 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/libpyside/pyside.cpp')
0 files changed, 0 insertions, 0 deletions