[issue28077] Fix find_empty_slot in dictobject
STINNER Victor
report at bugs.python.org
Mon Sep 12 08:25:38 EDT 2016
STINNER Victor added the comment:
> find_empty_slot will also do *value_addr = &mp->ma_values[-1] if it encounters a split dict.
I checked just before Naoki comment the issue, but I have the same conclusion: find_empty_slot() is never called on a split table.
By the way, we might modify find_empty_slot() to call insertion_resize(), because insertion_resize() is always called before find_empty_slot().
I close the issue. Please open a new issue if you want to refactor the code.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28077>
_______________________________________
More information about the Python-bugs-list
mailing list