summaryrefslogtreecommitdiff
path: root/dev-python/pyside2/files/pyside2-5.15.2-python310.patch
blob: cb2af4537cac640def854be776df0e93ee2b6002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -upr libpyside/feature_select.cpp libpyside/feature_select.cpp
--- a/libpyside/feature_select.cpp	2020-11-11 14:51:30.000000000 +0200
+++ b/libpyside/feature_select.cpp	2021-12-01 15:39:40.356426568 +0200
@@ -405,6 +405,8 @@ static inline PyObject *SelectFeatureSet
             if (!SelectFeatureSetSubtype(sub_type, select_id))
                 break;
         }
+        // PYSIDE-1436: Clear all caches for the type and subtypes.
+        PyType_Modified(type);
     }
     return type->tp_dict;
 }