1. Pypy
  2. Untitled project
  3. pypy

Commits

Alex Gaynor  committed 203939c

undo that, it doesn't translate.

  • Participants
  • Parent commits bdec23a
  • Branches default

Comments (0)

Files changed (1)

File pypy/rlib/rStringIO.py

View file
             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: