Author: Matti Picus <[email protected]>
Branch: unicode-utf8-py3
Changeset: r95686:92187a9964e4
Date: 2019-01-21 16:27 +0200
http://bitbucket.org/pypy/pypy/changeset/92187a9964e4/

Log:    Backed out changeset: 0be26dc39a59

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
@@ -87,8 +87,7 @@
         return space.newint(uid)
 
     def text_w(self, space):
-        eh = unicodehelper.decode_error_handler(space)
-        return unicodehelper.utf8_encode_utf_8(self._utf8, 'utf-8', eh)
+        return self._utf8
 
     def utf8_w(self, space):
         return self._utf8
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to