[pypy-svn] r46284 - pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Mon Sep 3 17:21:57 CEST 2007


Author: arigo
Date: Mon Sep  3 17:21:57 2007
New Revision: 46284

Modified:
   pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py
Log:
Temporary workaround for an annotation bug.


Modified: pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py	Mon Sep  3 17:21:57 2007
@@ -54,6 +54,10 @@
 
     unrolling_arg_tps = unrolling_iterable(enumerate(args))
     def wrapper(*args):
+        # XXX the next line is a workaround for the annotation bug
+        # shown in rpython.test.test_llann:test_pbctype.  Remove it
+        # when the test is fixed...
+        assert isinstance(lltype.Signed, lltype.Number)
         real_args = ()
         if stringpolicy == 'fullauto':
             to_free = ()


More information about the pypy-svn mailing list