Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r75773:e1f05f94b491
Date: 2015-02-08 21:59 +0200
http://bitbucket.org/pypy/pypy/changeset/e1f05f94b491/

Log:    rename

diff --git a/pypy/interpreter/unicodehelper.py 
b/pypy/interpreter/unicodehelper.py
--- a/pypy/interpreter/unicodehelper.py
+++ b/pypy/interpreter/unicodehelper.py
@@ -16,7 +16,7 @@
                                              space.wrap(msg)]))
     return raise_unicode_exception_decode
 
-class AppUnicodeEncodeError(Exception):
+class RPyUnicodeEncodeError(Exception):
     def __init__(self, encoding, object, start, end, reason):
         self.encoding = encoding
         self.object = object
diff --git a/pypy/objspace/std/unicodeobject.py 
b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -448,7 +448,7 @@
                     return space.wrap(unicode_encode_utf_8(
                             u, len(u), None, errorhandler=eh,
                             allow_surrogates=True))
-            except unicodehelper.AppUnicodeEncodeError, ue:
+            except unicodehelper.RPyUnicodeEncodeError, ue:
                 raise OperationError(space.w_UnicodeEncodeError,
                                      space.newtuple([
                     space.wrap(ue.encoding),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to