Author: Armin Rigo <[email protected]>
Branch: py3.5-newtext
Changeset: r90139:b1e1f945f231
Date: 2017-02-15 08:43 +0100
http://bitbucket.org/pypy/pypy/changeset/b1e1f945f231/
Log: oops, fix
diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -840,7 +840,7 @@
u = s.decode('utf-8')
w_s1 = self.interned_strings.get(u)
if w_s1 is None:
- w_s1 = self.newtext(u)
+ w_s1 = self.newunicode(u)
self.interned_strings.set(u, w_s1)
return w_s1
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit