[pypy-svn] r38990 - pypy/dist/pypy/doc/config

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Feb 15 23:50:51 CET 2007

Author: cfbolz
Date: Thu Feb 15 23:50:50 2007
New Revision: 38990

add a warning to weakref

Modified: pypy/dist/pypy/doc/config/objspace.usemodules._weakref.txt
--- pypy/dist/pypy/doc/config/objspace.usemodules._weakref.txt	(original)
+++ pypy/dist/pypy/doc/config/objspace.usemodules._weakref.txt	Thu Feb 15 23:50:50 2007
@@ -1,2 +1,6 @@
 Use the '_weakref' module, necessary for the standard lib 'weakref' module.
-This module is expected to be working and is included by default.
+PyPy's weakref implementation is not completely stable yet. The first
+difference to CPython is that weak references only go away after the next
+garbage collection, not immediately. The other problem seems to be that under
+certain circumstances (that we have not determined) weak references keep the
+object alive.

More information about the Pypy-commit mailing list