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 03d0d11 commit da97340Copy full SHA for da97340
1 file changed
Misc/NEWS.d/next/Library/2026-04-21-22-19-35.gh-issue-148242.unTO3m.rst
@@ -0,0 +1,4 @@
1
+The built-in :meth:`defaultdict.__missing__` method no longer exists. A custom
2
+:meth:`~object.__missing__` method should no longer insert the generated value
3
+into the dictionary, as this is done by the new :meth:`__getitem__` method.
4
+defaultdict is now safe to use with :term:`free threading`.
0 commit comments