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 kristjan.jonsson
Recipients andrea.corbellini, belopolsky, georg.brandl, kristjan.jonsson, pitrou, ysj.ray
Date 2010-07-29.19:22:29
SpamBayes Score 0.001357616
Marked as misclassified No
Message-id <1280431360.44.0.323489546664.issue9417@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting.  Here is a case for disabling GC:  

We intentionally disable GC in Eve-online, because of the unpredictable lag spikes it produces.  In a server application with gigabytes of python objects, GC can cause hickups of some seconds, which is unacceptable when trying to keep the latency low.

We were considering using Django for our backend web framework once.  Good that we didn't, since it would have leaked.

We do try to keep our code free from circular references, and occasionally run single GC passes on our test cluster to weed out any that may have formed accidentally (gc.garbage with DEBUG_LEAKS)

IMHO, python should try to be as free from these as possible, although it is admittedly not always easy (see recursive closures, issue 7464)

An alternative, is to do something like the minidom module does:  Provide a "unlink" method (or similar) to manually nerf objects before forgetting them.  Perhaps this could be standardized with an unlink keyword and a __unlink__ special method?
History
Date User Action Args
2010-07-29 19:22:40kristjan.jonssonsetrecipients: + kristjan.jonsson, georg.brandl, belopolsky, pitrou, andrea.corbellini, ysj.ray
2010-07-29 19:22:40kristjan.jonssonsetmessageid: <1280431360.44.0.323489546664.issue9417@psf.upfronthosting.co.za>
2010-07-29 19:22:30kristjan.jonssonlinkissue9417 messages
2010-07-29 19:22:29kristjan.jonssoncreate