SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

bpo-40609: Remove _Py_hashtable_t.key_size (GH-20060)

Rewrite _Py_hashtable_t type to always store the key as
a "const void *" pointer. Add an explicit "key" member to
_Py_hashtable_entry_t.

Remove _Py_hashtable_t.key_size member.

hash and compare functions drop their hash table parameter, and their
'key' parameter type becomes "const void *".
V
Victor Stinner committed
f9b3b582b86b9cce8d69ec7d03d716ec81c8264a
Parent: 9e2ca17
Committed by GitHub <noreply@github.com> on 5/13/2020, 12:26:02 AM