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

Serhiy Storchaka report at bugs.python.org
Thu Mar 5 08:29:54 CET 2015


Serhiy Storchaka added the comment:

> does not work because there is no unicode.__unicode__.

Yes, this is why unicode.__getslice__ or unicode.__getitem__ should be used.

Here is a patch for 2.7 that fixes this issue and adds tests for PseudoOutputFile and PseudoInputFile. Tests should be ported also to 3.x.

----------
assignee:  -> serhiy.storchaka
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file38337/idle_test_io-2.7.patch

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


More information about the Python-bugs-list mailing list