SIGN IN SIGN UP

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.
V
Victor Stinner committed
5485085b324a45307c1ff4ec7d85b5998d7d5e0d
Parent: fd7d539
Committed by GitHub <noreply@github.com> on 1/11/2019, 1:35:14 PM