[pypy-commit] pypy space-newtext: next fix
arigo
pypy.commits at gmail.com
Wed Feb 15 15:57:13 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch: space-newtext
Changeset: r90160:e53e4fe0c683
Date: 2017-02-15 21:56 +0100
http://bitbucket.org/pypy/pypy/changeset/e53e4fe0c683/
Log: next fix
diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -581,7 +581,7 @@
result_w = [None] * len_result
for i in range(len_result):
res = result[i]
- w_bytes = space.newtext(res)
+ w_bytes = space.newunicode(res)
try:
result_w[i] = space.call_method(w_bytes,
"decode", w_fs_encoding)
More information about the pypy-commit
mailing list