diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-06-07 15:41:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 15:41:39 (GMT) |
commit | 357626676035d2bb12ea92e0edf3c7b383d627ec (patch) | |
tree | 576271214cbdf8e351d3987233fbeb5af3531d52 /Lib/imp.py | |
parent | dd492d9c352eb0fa2bc48ea9acc47e47a7fab8a0 (diff) | |
download | cpython-357626676035d2bb12ea92e0edf3c7b383d627ec.zip cpython-357626676035d2bb12ea92e0edf3c7b383d627ec.tar.gz cpython-357626676035d2bb12ea92e0edf3c7b383d627ec.tar.bz2 |
bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888) (GH-13895)
Replace two Python function calls with a single one to ensure that no
memory allocation is done between the invalid object is created and
when _PyObject_IsFreed() is called.
(cherry picked from commit 3bf0f3ad2046ac674d8e8a2c074a5a8b3327797d)
Diffstat (limited to 'Lib/imp.py')
0 files changed, 0 insertions, 0 deletions