[pypy-svn] r49606 - pypy/dist/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Mon Dec 10 17:34:00 CET 2007


Author: arigo
Date: Mon Dec 10 17:33:59 2007
New Revision: 49606

Modified:
   pypy/dist/pypy/interpreter/typedef.py
Log:
Oups.  Typo.  Hard to test this code...


Modified: pypy/dist/pypy/interpreter/typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/typedef.py	(original)
+++ pypy/dist/pypy/interpreter/typedef.py	Mon Dec 10 17:33:59 2007
@@ -156,7 +156,7 @@
                     # first: if the app-level __del__ tries to use
                     # weakrefs again, they won't reuse the broken
                     # (already-cleared) ones from this lifeline.
-                    self.setweakref(None)
+                    self.setweakref(self.space, None)
                     lifeline.clear_all_weakrefs()
                 try:
                     self.space.userdel(self)



More information about the Pypy-commit mailing list