This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, mjpieters, ned.deily, serhiy.storchaka, terry.reedy, vstinner
Date 2015-03-05.07:29:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425540594.26.0.709076040112.issue23583@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2015-03-05 07:29:54serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, mjpieters, vstinner, ned.deily, ezio.melotti
2015-03-05 07:29:54serhiy.storchakasetmessageid: <1425540594.26.0.709076040112.issue23583@psf.upfronthosting.co.za>
2015-03-05 07:29:54serhiy.storchakalinkissue23583 messages
2015-03-05 07:29:54serhiy.storchakacreate