[pypy-svn] r46683 - pypy/dist/pypy/module/_weakref
arigo at codespeak.net
arigo at codespeak.net
Sun Sep 16 19:45:40 CEST 2007
Author: arigo
Date: Sun Sep 16 19:45:39 2007
New Revision: 46683
Modified:
pypy/dist/pypy/module/_weakref/interp__weakref.py
Log:
Translation fix.
Modified: pypy/dist/pypy/module/_weakref/interp__weakref.py
==============================================================================
--- pypy/dist/pypy/module/_weakref/interp__weakref.py (original)
+++ pypy/dist/pypy/module/_weakref/interp__weakref.py Sun Sep 16 19:45:39 2007
@@ -74,6 +74,7 @@
# because if this fails before w_self is fully initialized
# we get a segfault in the __del__
w_self.space = space
+ assert w_obj is not None
w_self.w_obj_weak = weakref.ref(w_obj)
w_self.w_callable = w_callable
More information about the Pypy-commit
mailing list