[pypy-commit] pypy default: rename
fijal
noreply at buildbot.pypy.org
Sun Feb 8 20:59:49 CET 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
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),
More information about the pypy-commit
mailing list