Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: py3k Changeset: r48184:c7013541688e Date: 2011-10-18 01:28 +0200 http://bitbucket.org/pypy/pypy/changeset/c7013541688e/
Log: Fix the Print part of the read-eval-print loop. diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++ b/pypy/interpreter/pyopcode.py @@ -1345,7 +1345,7 @@ # give to write() an argument which is either a string or a unicode # (and let it deals itself with unicode handling) - if not isinstance(x, unicode): + if not isinstance(x, str): x = str(x) stream.write(x) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit