Serhiy Storchaka added the comment:

This is not the only issue. Calling __init__ multiple times causes leaking 
locks, bz2/lzma internal buffers, etc.

It looks to me that the most straightforward way is using __new__ instead of 
__init__.

----------
versions: +Python 3.6, Python 3.7 -Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23224>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to