[Python-ideas] A way to tell the gc it's OK to delete an object with a __del__

Chris Barker chris.barker at noaa.gov
Fri Nov 14 19:01:58 CET 2014


On Thu, Nov 13, 2014 at 11:45 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> PyPy's GC design is (very) different, and allows finalisation of reference
> cycles involving __del__ even in Python 2. That path naturally comes with
> its own C extension compatibility challenges, though.
>

yup -- as does IronPython and Jython.

But particularly for the scientific stack, switching to PyPy is a LOT
harder than switching to 3.4 !

I certainly wouldn't do it for the garbage collection ;-)

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141114/904fcd55/attachment.html>


More information about the Python-ideas mailing list