STINNER Victor <vstin...@python.org> added the comment:
> Thanks! Indeed, that's an even better solution than I had in mind. > It follows PEP 630 quite nicely: > https://www.python.org/dev/peps/pep-0630/#managing-global-state The atexit module was my main motivation for this issue. So I'm fine with closing it. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com