{{ message }}
Commit 06f9c8c
authored
In `_Py_dict_lookup_threadsafe_stackref`, call `ensure_shared_on_read()` to
prevent a race between the lookup and concurrent dict resizes, which may free
the PyDictKeysObject (i.e., it ensures that the resize uses QSBR).
(cherry picked from commit e666a01)
1 parent 49ce23f commit 06f9c8c
2 files changed
Lines changed: 25 additions & 1 deletion

0 commit comments