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 terry.reedy
Recipients andrea.corbellini, belopolsky, daniel.urban, georg.brandl, kristjan.jonsson, pitrou, terry.reedy, warp10, ysj.ray
Date 2010-08-07.15:38:42
SpamBayes Score 1.2917889e-11
Marked as misclassified No
Message-id <1281195524.66.0.776972755994.issue9417@psf.upfronthosting.co.za>
In-reply-to
Content
I am opposed to a new 'unlink' builtin and '__unlink__' special method. There are more than enough builtin functions now, and this need is specific to those who both make lots temporary classes that they need garbage collected AND need to run with gc turned off. The intersection of these two small groups is probably very small. Since turning gc off is only an option with CPython (and PyPy?), this need is also implementation specific.

Before anything were added to the stdlib (and the need *might* be considered too rare for that) it should be tested in real use by more than one person. It appears that there are at least a couple of options for implementing a no_cr class. They could be attached to this issue, posted on the cookbook, or uploaded to PyPI.
History
Date User Action Args
2010-08-07 15:38:45terry.reedysetrecipients: + terry.reedy, georg.brandl, belopolsky, pitrou, kristjan.jonsson, andrea.corbellini, daniel.urban, ysj.ray, warp10
2010-08-07 15:38:44terry.reedysetmessageid: <1281195524.66.0.776972755994.issue9417@psf.upfronthosting.co.za>
2010-08-07 15:38:42terry.reedylinkissue9417 messages
2010-08-07 15:38:42terry.reedycreate