]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40602: _Py_hashtable_set() reports rehash failure (GH-20077)
authorVictor Stinner <vstinner@python.org>
Thu, 14 May 2020 20:44:32 +0000 (22:44 +0200)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 20:44:32 +0000 (22:44 +0200)
commitd2dc827d16479d99927a6923a0347199d7c694fb
tree04e608b4ff6bd534797a480e934217252059e82f
parentce21cfca7bb2d18921bc4ac27cb064726996c519
bpo-40602: _Py_hashtable_set() reports rehash failure (GH-20077)

If _Py_hashtable_set() fails to grow the hash table (rehash), it now
fails rather than ignoring the error.
Modules/_testinternalcapi.c
Python/hashtable.c