Skip to content

Commit 784eeb1

Browse files
gh-157217: Add NEWS blurb for mappingproxy dict_merge fix
1 parent f01610e commit 784eeb1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Fix :func:`dir` raising :exc:`RuntimeError` on the free-threaded build
2+
when another thread concurrently inserts into a class ``__dict__``.
3+
``dict.update()`` and related merges now take the locked dict-to-dict path
4+
when the source is a :class:`types.MappingProxyType` wrapping a dict.

0 commit comments

Comments
 (0)