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 steven.daprano
Recipients Yonatan Goldschmidt, steven.daprano
Date 2020-08-14.00:55:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597366512.83.0.513894119796.issue41545@roundup.psfhosted.org>
In-reply-to
Content
> I wrap a function's logic with `gc.disable()` to prevent GC from triggering some race condition.

If this race condition is a bug in gc, then we should fix that.

If it is a bug in your code, surely you should fix that rather than disable gc.

Either way, I don't think we should complicate the gc iterface by adding a second way to enable and disable the cyclic gc.
History
Date User Action Args
2020-08-14 00:55:13steven.dapranosetrecipients: + steven.daprano, Yonatan Goldschmidt
2020-08-14 00:55:12steven.dapranosetmessageid: <1597366512.83.0.513894119796.issue41545@roundup.psfhosted.org>
2020-08-14 00:55:12steven.dapranolinkissue41545 messages
2020-08-14 00:55:12steven.dapranocreate