diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-14 09:23:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 09:23:54 (GMT) |
commit | 0ddfb5717f761fcab7929957eca65044116a96a4 (patch) | |
tree | d5219aa5a183c30f05503116b939e903a7f18dca /Lib/difflib.py | |
parent | 96492785b202a92af1b71f8c011ea839ca3ebb07 (diff) | |
download | cpython-0ddfb5717f761fcab7929957eca65044116a96a4.zip cpython-0ddfb5717f761fcab7929957eca65044116a96a4.tar.gz cpython-0ddfb5717f761fcab7929957eca65044116a96a4.tar.bz2 |
gh-111178: Fix _PyLegacyEventHandler_Type deallocator (#131193)
Don't use PyObject_Free() as tp_dealloc to avoid an undefined
behavior. Instead, use the default deallocator which just calls
tp_free which is PyObject_Free().
Diffstat (limited to 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions