MCPcopy Create free account
hub / github.com/python/cpython / bad_dict_clear

Class bad_dict_clear

Lib/test/test_set.py:1861–1867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1859 return 0
1860
1861class bad_dict_clear:
1862 def __eq__(self, other):
1863 if be_bad:
1864 dict2.clear()
1865 return self is other
1866 def __hash__(self):
1867 return 0
1868
1869class TestWeirdBugs(unittest.TestCase):
1870 def test_8420_set_merge(self):

Callers 1

test_8420_set_mergeMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_8420_set_mergeMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…