Message108633
Replacing string indexes with length-1 slices in the 2.x codebase, whether or not one one is running 2to3, seems to be a 'known' technique for Python3 portability and unicode-bytes inter-operability. (It was discussed this week on py-dev list .) But I do not see it mentioned in PyWiki, such as on
http://wiki.python.org/moin/PortingPythonToPy3k |
|
Date |
User |
Action |
Args |
2010-06-25 21:19:58 | terry.reedy | set | recipients:
+ terry.reedy, benjamin.peterson, vdupras |
2010-06-25 21:19:58 | terry.reedy | set | messageid: <1277500798.57.0.444901519174.issue9043@psf.upfronthosting.co.za> |
2010-06-25 21:19:57 | terry.reedy | link | issue9043 messages |
2010-06-25 21:19:56 | terry.reedy | create | |
|