Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r63259:a3aa1bdf3048
Date: 2013-04-11 23:16 -0400
http://bitbucket.org/pypy/pypy/changeset/a3aa1bdf3048/

Log:    just set pos directly here instead of calling seek

diff --git a/rpython/rlib/rStringIO.py b/rpython/rlib/rStringIO.py
--- a/rpython/rlib/rStringIO.py
+++ b/rpython/rlib/rStringIO.py
@@ -156,7 +156,7 @@
             i += 1
             if finished:
                 break
-        self.seek(i)
+        self.pos = i
         return ''.join(self.bigbuffer[p:i])
 
     def truncate(self, size):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to