Hi, On Thu, 2 Jan 2020 at 03:59, Yonatan Zunger <[email protected]> wrote: > It is possible (though not recommended!) for the __del__() method to postpone > destruction of the instance by creating a new reference to it. This is called > object resurrection. It is implementation-dependent whether __del__() is > called a second time when a resurrected object is about to be destroyed; the > current CPython implementation only calls it once.
"...in most cases." Armin Rigo _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/LHY2EM7PMSSUAMORBOHIUZAYKHILAMJO/ Code of Conduct: http://python.org/psf/codeofconduct/
