Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r47573:203939c667ff
Date: 2011-09-23 22:10 -0400
http://bitbucket.org/pypy/pypy/changeset/203939c667ff/
Log: undo that, it doesn't translate.
diff --git a/pypy/rlib/rStringIO.py b/pypy/rlib/rStringIO.py
--- a/pypy/rlib/rStringIO.py
+++ b/pypy/rlib/rStringIO.py
@@ -103,7 +103,8 @@
endp = p + len(buffer)
if len(self.bigbuffer) >= endp:
# semi-fast path: the write is entirely inside self.bigbuffer
- self.bigbuffer[p:p + len(buffer)] = buffer
+ for i in range(len(buffer)):
+ self.bigbuffer[p + i] = buffer[i]
self.pos = endp
return
else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit