This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients Dennis Sweeney, Yonatan Goldschmidt, ammar2, iritkatriel, steven.daprano
Date 2020-08-15.22:43:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597531426.49.0.421396714538.issue41545@roundup.psfhosted.org>
In-reply-to
Content
There is also gc.isenabled(), so couldn't you check that before disabling and remember whether you needed to disable or not?
History
Date User Action Args
2020-08-15 22:43:46iritkatrielsetrecipients: + iritkatriel, steven.daprano, ammar2, Dennis Sweeney, Yonatan Goldschmidt
2020-08-15 22:43:46iritkatrielsetmessageid: <1597531426.49.0.421396714538.issue41545@roundup.psfhosted.org>
2020-08-15 22:43:46iritkatriellinkissue41545 messages
2020-08-15 22:43:46iritkatrielcreate