Irit Katriel <[email protected]> added the comment:
There is also gc.isenabled(), so couldn't you check that before disabling and remember whether you needed to disable or not? ---------- nosy: +iritkatriel _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue41545> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
