[pypy-commit] pypy py3.5: Add newutf8 to fake objspace.
mjacob
pypy.commits at gmail.com
Tue Jan 3 20:06:34 EST 2017
Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.5
Changeset: r89355:42f98dcdd48f
Date: 2017-01-04 02:02 +0100
http://bitbucket.org/pypy/pypy/changeset/42f98dcdd48f/
Log: Add newutf8 to fake objspace.
diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -209,6 +209,9 @@
def newunicode(self, x):
return w_some_obj()
+ def newutf8(self, x):
+ return w_some_obj()
+
@specialize.argtype(1)
def wrap(self, x):
if not we_are_translated():
More information about the pypy-commit
mailing list