Author: Ronan Lamy <[email protected]>
Branch: PyBuffer-backport
Changeset: r91252:4574a68bea35
Date: 2017-05-11 16:09 +0100
http://bitbucket.org/pypy/pypy/changeset/4574a68bea35/
Log: fix _rawffi
diff --git a/pypy/module/_rawffi/interp_rawffi.py
b/pypy/module/_rawffi/interp_rawffi.py
--- a/pypy/module/_rawffi/interp_rawffi.py
+++ b/pypy/module/_rawffi/interp_rawffi.py
@@ -374,6 +374,12 @@
def buffer_w(self, space, flags):
return SimpleView(RawFFIBuffer(self))
+ def readbuf_w(self, space):
+ return RawFFIBuffer(self)
+
+ def writebuf_w(self, space):
+ return RawFFIBuffer(self)
+
def getrawsize(self):
raise NotImplementedError("abstract base class")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit