MCPcopy Index your code
hub / github.com/python/cpython / make_shared_key_dict

Method make_shared_key_dict

Lib/test/test_free_threading/test_races.py:240–246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

238 do_race(read, mutate)
239
240 def make_shared_key_dict(self):
241 class C:
242 pass
243
244 a = C()
245 a.x = 1
246 return a.__dict__
247
248 def test_racing_store_attr_dict(self):
249 """Test STORE_ATTR with various dictionary types."""

Callers 1

mutateMethod · 0.95

Calls 1

CClass · 0.70

Tested by

no test coverage detected