[pypy-svn] r48910 - in pypy/branch/ropes-unicode/pypy: module/_codecs rlib

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Nov 21 18:33:44 CET 2007


Author: cfbolz
Date: Wed Nov 21 18:33:44 2007
New Revision: 48910

Modified:
   pypy/branch/ropes-unicode/pypy/module/_codecs/interp_codecs.py
   pypy/branch/ropes-unicode/pypy/rlib/runicode.py
Log:
samuele tells me that doing it this way is saner


Modified: pypy/branch/ropes-unicode/pypy/module/_codecs/interp_codecs.py
==============================================================================
--- pypy/branch/ropes-unicode/pypy/module/_codecs/interp_codecs.py	(original)
+++ pypy/branch/ropes-unicode/pypy/module/_codecs/interp_codecs.py	Wed Nov 21 18:33:44 2007
@@ -51,7 +51,6 @@
             else:
                 replace = space.str_w(w_replace)
                 return replace, newpos
-        unicode_call_errorhandler._annspecialcase_ = "specialize:arg(6)"
         return unicode_call_errorhandler
 
 

Modified: pypy/branch/ropes-unicode/pypy/rlib/runicode.py
==============================================================================
--- pypy/branch/ropes-unicode/pypy/rlib/runicode.py	(original)
+++ pypy/branch/ropes-unicode/pypy/rlib/runicode.py	Wed Nov 21 18:33:44 2007
@@ -13,7 +13,6 @@
     else:
         raise UnicodeEncodeError(
                 encoding, s[startingpos], startingpos, endingpos, msg)
-raise_unicode_exception._annspecialcase_ = "specialize:arg(6)"
 
 # ____________________________________________________________ 
 # unicode decoding



More information about the Pypy-commit mailing list