Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r70467:3471ca7a93f8 Date: 2014-04-05 11:14 +0200 http://bitbucket.org/pypy/pypy/changeset/3471ca7a93f8/
Log: Mention weakrefs diff --git a/pypy/doc/stm.rst b/pypy/doc/stm.rst --- a/pypy/doc/stm.rst +++ b/pypy/doc/stm.rst @@ -99,9 +99,11 @@ programs that modify large lists or dicts, suffer from these missing optimizations. -* The GC has no support for destructors: the ``__del__`` method is - never called (including on file objects, which won't be closed for - you). This is of course temporary. +* The GC has no support for destructors: the ``__del__`` method is never + called (including on file objects, which won't be closed for you). + This is of course temporary. Also, weakrefs might appear to work a + bit strangely for now (staying alive even though ``gc.collect()``, or + even dying but then un-dying for a short time before dying again). * The STM system is based on very efficient read/write barriers, which are mostly done (their placement could be improved a bit in _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit