[pypy-commit] pypy py3k: Buffers now require a readonly attribute
pjenvey
noreply at buildbot.pypy.org
Sun May 4 00:04:22 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r71243:9b567d9ab02f
Date: 2014-05-03 15:00 -0700
http://bitbucket.org/pypy/pypy/changeset/9b567d9ab02f/
Log: Buffers now require a readonly attribute
diff --git a/pypy/module/_io/interp_bytesio.py b/pypy/module/_io/interp_bytesio.py
--- a/pypy/module/_io/interp_bytesio.py
+++ b/pypy/module/_io/interp_bytesio.py
@@ -16,6 +16,7 @@
def __init__(self, w_bytesio):
self.w_bytesio = w_bytesio
+ self.readonly = False
def getlength(self):
return int(self.w_bytesio.getsize())
More information about the pypy-commit
mailing list