[issue23583] IDLE: printing unicode subclasses broken (again)

Martijn Pieters report at bugs.python.org
Wed Mar 4 16:12:11 CET 2015


Martijn Pieters added the comment:

Proposed fix, replace line 1352-1353 in PseudoOutputFile.write():

if isinstance(s, unicode):
    s = unicode.__getslice__(s, None, None)

with

if isinstance(s, unicode):
    s = unicode.__getslice__(s, 0, len(s))

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23583>
_______________________________________


More information about the Python-bugs-list mailing list