[pypy-svn] r73157 - pypy/trunk/pypy/interpreter

fijal at codespeak.net fijal at codespeak.net
Tue Mar 30 05:34:38 CEST 2010


Author: fijal
Date: Tue Mar 30 05:34:36 2010
New Revision: 73157

Modified:
   pypy/trunk/pypy/interpreter/executioncontext.py
Log:
Kill unreachable code (that has name errors innit)


Modified: pypy/trunk/pypy/interpreter/executioncontext.py
==============================================================================
--- pypy/trunk/pypy/interpreter/executioncontext.py	(original)
+++ pypy/trunk/pypy/interpreter/executioncontext.py	Tue Mar 30 05:34:36 2010
@@ -514,11 +514,7 @@
         self.weakrefs_w = []
         for i in range(len(pending_w)):
             w_ref = pending_w[i]
-            try:
-                w_ref.activate_callback()
-            except OperationError, e:
-                e.write_unraisable(space, 'weakref ', w_obj)
-                e.clear(space)   # break up reference cycles
+            w_ref.activate_callback()
         
 class FrameTraceAction(AsyncAction):
     """An action that calls the local trace functions (w_f_trace)."""



More information about the Pypy-commit mailing list