[Python-Dev] bytes / unicode

Terry Reedy tjreedy at udel.edu
Tue Jun 22 22:41:54 CEST 2010


On 6/22/2010 12:53 PM, Guido van Rossum wrote:
> On Mon, Jun 21, 2010 at 11:47 PM, Raymond Hettinger
> <raymond.hettinger at gmail.com>  wrote:
>>
>> On Jun 21, 2010, at 10:31 PM, Glyph Lefkowitz wrote:
>>
>>    This is a common pain-point for porting software to 3.x - you had a
>> string, it kinda worked most of the time before, but now you need to keep
>> track of text too and the functions which seemed to work on bytes no longer
>> do.
>>
>> Thanks Glyph.  That is a nice summary of one kind of challenge facing
>> programmers.
>
> Ironically, Glyph also described the pain in 2.x: it only "kinda" worked.

The people with problematic code to convert must imclude some who 
managed to tolerate and perhaps suppress the pain. I suspect that 
conversion attempts brings it back to the surface. It is natural to 
blame the re-surfacer rather than the original source. (As in 'blame the 
messenger').


-- 
Terry Jan Reedy



More information about the Python-Dev mailing list