Author: Armin Rigo <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit