Skip to content

bpo-40609: Add destroy functions to _Py_hashtable#20062

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:hashtable_key_destroy_func
May 13, 2020
Merged

bpo-40609: Add destroy functions to _Py_hashtable#20062
vstinner merged 1 commit intopython:masterfrom
vstinner:hashtable_key_destroy_func

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 13, 2020

Add key_destroy_func and value_destroy_func parameters to
_Py_hashtable_new_full().

marshal.c and _tracemalloc.c use these destroy functions to simplify
their code.

https://bugs.python.org/issue40609

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants