Terry J. Reedy added the comment: I added "from __future__ import print_function" to 2.7 PyShell when I backported the bugfix of #22420. The use of print rather than write is part of the fix as print is more fault tolerant.
---------- resolution: -> fixed stage: needs patch -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24222> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com