Artem <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue44697>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com