[pypy-svn] r14739 - pypy/dist/pypy/rpython

pedronis at codespeak.net pedronis at codespeak.net
Mon Jul 18 18:30:01 CEST 2005


Author: pedronis
Date: Mon Jul 18 18:29:59 2005
New Revision: 14739

Modified:
   pypy/dist/pypy/rpython/rint.py
Log:
don't make assumptions



Modified: pypy/dist/pypy/rpython/rint.py
==============================================================================
--- pypy/dist/pypy/rpython/rint.py	(original)
+++ pypy/dist/pypy/rpython/rint.py	Mon Jul 18 18:29:59 2005
@@ -34,7 +34,7 @@
         if r_from.lowleveltype == Unsigned and r_to.lowleveltype == Signed:
             if debug: print 'explicit cast_uint_to_int'
             return llops.genop('cast_uint_to_int', [v], resulttype=Signed)
-        return v
+        return NotImplemented
 
     #arithmetic
 



More information about the Pypy-commit mailing list