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

Reply via email to