This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Aaron1011, martin.panter, nadeem.vawda, serhiy.storchaka
Date 2016-12-02.20:07:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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__.
History
Date User Action Args
2016-12-02 20:07:54serhiy.storchakasetrecipients: + serhiy.storchaka, nadeem.vawda, martin.panter, Aaron1011
2016-12-02 20:07:54serhiy.storchakasetmessageid: <[email protected]>
2016-12-02 20:07:54serhiy.storchakalinkissue23224 messages
2016-12-02 20:07:54serhiy.storchakacreate