Message237245
> 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. |
|
Date |
User |
Action |
Args |
2015-03-05 07:29:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, mjpieters, vstinner, ned.deily, ezio.melotti |
2015-03-05 07:29:54 | serhiy.storchaka | set | messageid: <1425540594.26.0.709076040112.issue23583@psf.upfronthosting.co.za> |
2015-03-05 07:29:54 | serhiy.storchaka | link | issue23583 messages |
2015-03-05 07:29:54 | serhiy.storchaka | create | |
|