summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_pyparse.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-01-11 14:01:50 (GMT)
committerGitHub <noreply@github.com>2019-01-11 14:01:50 (GMT)
commit059997d78ed1a1a5a364b1846ac972c98c704927 (patch)
tree56aa9fccbaacc4d0284727972843bd840c7cbef4 /Lib/idlelib/idle_test/test_pyparse.py
parent8a5b1aa98f97923c39734b508aead152a5a1c911 (diff)
downloadcpython-059997d78ed1a1a5a364b1846ac972c98c704927.zip
cpython-059997d78ed1a1a5a364b1846ac972c98c704927.tar.gz
cpython-059997d78ed1a1a5a364b1846ac972c98c704927.tar.bz2
bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489)
Fix memory leaks in asyncio ProactorEventLoop on overlapped operation failures. Changes: * Implement the tp_traverse slot in the _overlapped.Overlapped type to help to break reference cycles and identify referrers in the garbage collector. * Always clear overlapped on failure: not only set type to TYPE_NOT_STARTED, but release also resources. (cherry picked from commit 5485085b324a45307c1ff4ec7d85b5998d7d5e0d) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Lib/idlelib/idle_test/test_pyparse.py')
0 files changed, 0 insertions, 0 deletions