commit | 3bf0f3ad2046ac674d8e8a2c074a5a8b3327797d | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Fri Jun 07 16:22:21 2019 +0200 |
committer | GitHub <noreply@github.com> | Fri Jun 07 16:22:21 2019 +0200 |
tree | 36188df3d87d41c2075183f46678b013cf59fdf2 | |
parent | 3f345c39255dc3823dd989d4e3c93b12d18c44e0 [diff] |
bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888) 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.