Totally confused by the str/bytes/unicode differences introduced in Pythyon 3.x

Giampaolo Rodola' gnewsg at gmail.com
Sat Jan 17 04:51:33 CET 2009


On 17 Gen, 04:43, Terry Reedy <tjre... at udel.edu> wrote:
> Giampaolo Rodola' wrote:
> > That would help to avoid replacing "" with b"" almost everywhere in my
> > code.
>
> Won't 2to3 do that for you?

I used 2to3 against my code but it didn't cover the "" -> b""
conversion (and I doubt it is able to do so, anyway).


--- Giampaolo
http://code.google.com/p/pyftpdlib



More information about the Python-list mailing list