bpo-40602: _Py_hashtable_set() reports rehash failure (GH-20077) · mandeep/cpython@d2dc827 · GitHub
Skip to content

Commit d2dc827

Browse files
authored
bpo-40602: _Py_hashtable_set() reports rehash failure (pythonGH-20077)
If _Py_hashtable_set() fails to grow the hash table (rehash), it now fails rather than ignoring the error.
1 parent ce21cfc commit d2dc827

2 files changed

Lines changed: 26 additions & 14 deletions

File tree

Modules/_testinternalcapi.c

Lines changed: 9 additions & 5 deletions

Python/hashtable.c

Lines changed: 17 additions & 9 deletions

0 commit comments

Comments
 (0)