diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-22 12:13:01 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-22 12:13:01 +0100 |
| commit | c9553876ae88b7f1494cff826c8f7a08c2ac5614 (patch) | |
| tree | 63f4ec83ec78ca95db74b03bd033a4953d27d653 /Lib/test/test_zipapp.py | |
| parent | 0b2d71bc70c32560853fa91f58dc37af8f08090c (diff) | |
| download | cpython-git-c9553876ae88b7f1494cff826c8f7a08c2ac5614.tar.gz | |
Simplify implementation of hashtable.c
Issue #26588: Remove copy_data, free_data and get_data_size callbacks from
hashtable.h. These callbacks are not used in Python and makes the code more
complex.
Remove also the _Py_HASHTABLE_ENTRY_DATA_AS_VOID_P() macro which uses an unsafe
pointer dereference (can cause memory alignment issue). Replace the macro usage
with _Py_HASHTABLE_ENTRY_READ_DATA() which is implemented with the safe
memcpy() function.
Diffstat (limited to 'Lib/test/test_zipapp.py')
0 files changed, 0 insertions, 0 deletions
