[pypy-svn] r11537 - pypy/dist/pypy/translator

pedronis at codespeak.net pedronis at codespeak.net
Wed Apr 27 18:33:16 CEST 2005


Author: pedronis
Date: Wed Apr 27 18:33:16 2005
New Revision: 11537

Modified:
   pypy/dist/pypy/translator/geninterplevel.py
Log:
strutil is at interplevel and is undergoing a refactoring because string_to_int could return a Python long,
and code depended on that behavior, this is at odds with annotation and translation



Modified: pypy/dist/pypy/translator/geninterplevel.py
==============================================================================
--- pypy/dist/pypy/translator/geninterplevel.py	(original)
+++ pypy/dist/pypy/translator/geninterplevel.py	Wed Apr 27 18:33:16 2005
@@ -1363,11 +1363,6 @@
     except ZeroDivisionError:
         return 42
 
-def test_strutil():
-    from pypy.objspace.std import strutil
-    return (strutil.string_to_int("42"),
-            strutil.string_to_long("12345678901234567890"))
-
 def test_struct():
     from pypy.appspace import struct
     import struct as stru
@@ -1423,7 +1418,6 @@
                 test_iter,
                 test_loop,
                 test_exc,
-                test_strutil,
                 test_struct,
                 exceptions_helper,
                 make_class_instance_helper,



More information about the Pypy-commit mailing list