Alexey Izbyshev <izbys...@ispras.ru> added the comment:

What are the drawbacks of moving all code from __init__ to __new__, at least in 
master branch (3.8)? IMO it's much more robust than playing whack-a-mole both 
with ref/memleaks caused by repeated calls to __init__ and absence of 
initialization checks in all methods.

----------
nosy: +berker.peksag, izbyshev, mark.dickinson, meador.inge, serhiy.storchaka
versions: +Python 2.7, Python 3.6, Python 3.8

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

Reply via email to