[pypy-svn] pypy default: Fix translation.
alex_gaynor
commits-noreply at bitbucket.org
Wed Feb 2 14:10:33 CET 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r41560:ee06cacb0be6
Date: 2011-02-02 08:10 -0500
http://bitbucket.org/pypy/pypy/changeset/ee06cacb0be6/
Log: Fix translation.
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
@@ -253,7 +253,7 @@
# into the decoder with need_eof as the EOF flag, then skip
# chars_to_skip characters of the decoded result. For most simple
# decoders, tell() will often just give a byte offset in the file.
- rb = rbigint.fromint
+ rb = rbigint.fromrarith_int
res = rb(self.start_pos)
res = res.or_(rb(self.dec_flags).lshift(1 * r_ulonglong.BITS))
More information about the Pypy-commit
mailing list