[pypy-svn] pypy default: Add an XXX.

arigo commits-noreply at bitbucket.org
Thu Jan 27 17:35:24 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41399:71819c9bc5de
Date: 2011-01-27 17:34 +0100
http://bitbucket.org/pypy/pypy/changeset/71819c9bc5de/

Log:	Add an XXX.

diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py
--- a/pypy/module/_io/interp_textio.py
+++ b/pypy/module/_io/interp_textio.py
@@ -246,7 +246,7 @@
         # chars_to_skip characters of the decoded result.  For most simple
         # decoders, tell() will often just give a byte offset in the file.
         return (self.start_pos |
-                (self.dec_flags<<64) |
+                (self.dec_flags<<64) |    # XXX fixme! does not work in RPython
                 (self.bytes_to_feed<<128) |
                 (self.chars_to_skip<<192) |
                 bool(self.need_eof)<<256)


More information about the Pypy-commit mailing list