[pypy-svn] pypy default: Remove some XXX.

alex_gaynor commits-noreply at bitbucket.org
Fri Feb 4 04:48:47 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r41597:ecef9c6c9d3f
Date: 2011-02-03 21:59 -0500
http://bitbucket.org/pypy/pypy/changeset/ecef9c6c9d3f/

Log:	Remove some XXX.

diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py
--- a/pypy/module/_io/interp_stringio.py
+++ b/pypy/module/_io/interp_stringio.py
@@ -66,11 +66,7 @@
             self.buf.extend([u'\0'] * (newlength - len(self.buf)))
 
     def write(self, string):
-        # XXX self.decoder
-        decoded = string
-        # XXX writenl
-
-        length = len(decoded)
+        length = len(string)
         if self.pos + length > len(self.buf):
             self.resize_buffer(self.pos + length)
 


More information about the Pypy-commit mailing list