]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix SystemError in compact dict
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Sep 2016 02:28:36 +0000 (19:28 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Sep 2016 02:28:36 +0000 (19:28 -0700)
commit78601a38c22ba1f09104e2562a10a94cbd36f5f0
tree1abadfbcec51e16790781cbe045eaa6de6b91478
parenteb0dfa9251102e42bdabcb84de17cecb43537442
Fix SystemError in compact dict

Issue #28040: Fix _PyDict_DelItem_KnownHash() and _PyDict_Pop(): convert
splitted table to combined table to be able to delete the item.

Write an unit test for the issue.

Patch by INADA Naoki.
Lib/test/test_dict.py
Objects/dictobject.c