Irit Katriel <iritkatr...@yahoo.com> 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 <rep...@bugs.python.org> <https://bugs.python.org/issue41545> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com