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 llllllllll
Recipients llllllllll, rhettinger
Date 2016-09-27.22:24:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475015059.47.0.779446859241.issue28254@psf.upfronthosting.co.za>
In-reply-to
Content
I definitely could have used PyImport_Import and PyObject_Call to accomplish this task; however, when I looked at at the implementation of these functions it seemed like a lot of overhead and book keeping just to set a boolean. Since I was already in a C extension it would be nicer to not need to worry about PyObjects and ref counts just to set this value so I thought it would be nice to expose these small functions to users. Since this is equivalent to gc.enable or gc.disable I don't think there is a deep can of worms here. The only difference in the implementation is that it doesn't return None. There is already PyGC_Collect, so I figured these were just omitted because no one thought to add them. I don't have a burning desire to get this in, I just thought it would be a nice to have.
History
Date User Action Args
2016-09-27 22:24:19llllllllllsetrecipients: + llllllllll, rhettinger
2016-09-27 22:24:19llllllllllsetmessageid: <1475015059.47.0.779446859241.issue28254@psf.upfronthosting.co.za>
2016-09-27 22:24:19lllllllllllinkissue28254 messages
2016-09-27 22:24:19llllllllllcreate