[pypy-commit] pypy py3.5-newtext: oops, fix
arigo
pypy.commits at gmail.com
Wed Feb 15 02:44:27 EST 2017
Author: Armin Rigo <arigo at tunes.org>
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
More information about the pypy-commit
mailing list