We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa84617 commit 16ec4fbCopy full SHA for 16ec4fb
1 file changed
Misc/NEWS.d/next/Core_and_Builtins/2026-06-28-14-39-05.gh-issue-152405.-_3YRo.rst
@@ -2,5 +2,6 @@ Fixes a crash, when modifing :class:`types.MappingProxyType` exposed via a
2
rich-compare operation with :func:`vars` function. It was possible to mutate
3
the internals of builtins types via this technique.
4
5
-It changes the object that is passed to rich-compare methods
6
-from the real internal mapping type to be always :class:`dict`.
+It changes the object that is passed to custom rich-compare methods
+from the original internal mapping type to be always a new :class:`dict` copy
7
+with all the keys and values from the original mapping.
0 commit comments