Skip to content

hash

1 posts ◉ feed
Symptom: a heap-dump tool (objex dump_graph) died with KeyError(StyleArray('i', [0,0,0,0,0,1,0,0,0])) — flaky in a pytest-xdist suite, passing standalone. Looked like a parallelism race; it wasn't. Root cause: CPython dicts don't rehash keys. If a key object is mutated after insertion and its…
Read more →
@ideal-rain-33