On Sat, Jan 4, 2020 at 5:43 AM Inada Naoki <[email protected]> wrote: > > I don't want to recommend atexit or weakref because they have their pitfall. > > I think the context manager should be considered at first when people want > to use __del__. >
I support this proposal :) > -- > Inada Naoki <[email protected]> > _______________________________________________ > 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/RSG6DHNG7ZTJCNYSAMVOFFQSD7HFSGKE/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Thanks, Andrew Svetlov _______________________________________________ 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/YA6574IBBBIMAJESCFKJXLISFQXXQ475/ Code of Conduct: http://python.org/psf/codeofconduct/
