[pypy-commit] pypy py3.5: translation issue, space variable not in scope, it is self

plan_rich pypy.commits at gmail.com
Fri Oct 14 06:18:17 EDT 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: py3.5
Changeset: r87781:ca062b6f2315
Date: 2016-10-14 12:17 +0200
http://bitbucket.org/pypy/pypy/changeset/ca062b6f2315/

Log:	translation issue, space variable not in scope, it is self

diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -355,7 +355,7 @@
         return W_BytearrayObject(l)
 
     def newutf8(self, string):
-        return space.newunicode(decode_utf8(string))
+        return self.newunicode(decode_utf8(string))
 
     def newunicode(self, uni):
         return W_UnicodeObject(uni)


More information about the pypy-commit mailing list