[pypy-commit] pypy unicode-utf8: fix exceptions module

fijal pypy.commits at gmail.com
Sun Dec 3 16:25:22 EST 2017


Author: fijal
Branch: unicode-utf8
Changeset: r93266:afec0f2bdfff
Date: 2017-12-03 16:37 +0100
http://bitbucket.org/pypy/pypy/changeset/afec0f2bdfff/

Log:	fix exceptions module

diff --git a/pypy/module/exceptions/interp_exceptions.py b/pypy/module/exceptions/interp_exceptions.py
--- a/pypy/module/exceptions/interp_exceptions.py
+++ b/pypy/module/exceptions/interp_exceptions.py
@@ -719,7 +719,7 @@
     def descr_init(self, space, w_encoding, w_object, w_start, w_end, w_reason):
         # typechecking
         space.realtext_w(w_encoding)
-        space.utf8_w(w_object)
+        space.realutf8_w(w_object)
         space.int_w(w_start)
         space.int_w(w_end)
         space.realtext_w(w_reason)


More information about the pypy-commit mailing list