[pypy-svn] r17074 - pypy/dist/pypy/objspace

arigo at codespeak.net arigo at codespeak.net
Mon Aug 29 21:13:40 CEST 2005


Author: arigo
Date: Mon Aug 29 21:13:39 2005
New Revision: 17074

Modified:
   pypy/dist/pypy/objspace/thunk.py
Log:
Hint for the annotator.


Modified: pypy/dist/pypy/objspace/thunk.py
==============================================================================
--- pypy/dist/pypy/objspace/thunk.py	(original)
+++ pypy/dist/pypy/objspace/thunk.py	Mon Aug 29 21:13:39 2005
@@ -40,6 +40,7 @@
     w_alias = w_self.w_thunkalias
     while w_alias is not None:
         if w_alias is w_NOT_COMPUTED_THUNK:
+            assert isinstance(w_self, W_Thunk)
             w_callable = w_self.w_callable
             args       = w_self.args
             if w_callable is None or args is None:



More information about the Pypy-commit mailing list