]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40609: Add destroy functions to _Py_hashtable (GH-20062)
authorVictor Stinner <vstinner@python.org>
Wed, 13 May 2020 00:50:18 +0000 (02:50 +0200)
committerGitHub <noreply@github.com>
Wed, 13 May 2020 00:50:18 +0000 (02:50 +0200)
commit2d0a3d682f699cce8db6e30981d41d9125318726
treeb4ea6653c7448deaea0f366c163426a1f5490bb7
parentf9b3b582b86b9cce8d69ec7d03d716ec81c8264a
bpo-40609: Add destroy functions to _Py_hashtable (GH-20062)

Add key_destroy_func and value_destroy_func parameters to
_Py_hashtable_new_full().

marshal.c and _tracemalloc.c use these destroy functions.
Include/internal/pycore_hashtable.h
Modules/_tracemalloc.c
Python/hashtable.c
Python/marshal.c