[issue44697] Memory leak when asyncio.open_connection raise

Artem report at bugs.python.org
Mon Jul 26 06:09:39 EDT 2021


Artem <doomedseer at GMail.com> added the comment:

Checked on 3.9.6 - still leaking.

Strange stuff, but if I write 

except OSError as e:
    del self

instead of 

except OSError as e:
    pass

leak is disappearing.

----------
versions: +Python 3.9 -Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44697>
_______________________________________


More information about the Python-bugs-list mailing list