Author: Armin Rigo <[email protected]>
Branch: space-newtext
Changeset: r90140:31f7ee8dcadc
Date: 2017-02-15 09:01 +0100
http://bitbucket.org/pypy/pypy/changeset/31f7ee8dcadc/
Log: here we process bytes
diff --git a/pypy/module/marshal/interp_marshal.py
b/pypy/module/marshal/interp_marshal.py
--- a/pypy/module/marshal/interp_marshal.py
+++ b/pypy/module/marshal/interp_marshal.py
@@ -103,7 +103,7 @@
def read(self, n):
space = self.space
w_ret = space.call_function(self.func, space.newint(n))
- ret = space.text_w(w_ret)
+ ret = space.bytes_w(w_ret)
if len(ret) != n:
self.raise_eof()
return ret
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit