[Python-Dev] raw binary data and 2to3

"Martin v. Löwis" martin at v.loewis.de
Mon Nov 9 08:46:06 CET 2009

>     data = "GIF89a(..."
> Is there a potentially automated path from where the code is today to
> something Python 3 (and 2to3) will like?

Not sure how you'll fix these; I personally always provided a b()
function that will do the right thing in both 2.x and 3.x. This can
get eventually replaced by a b prefix.


More information about the Python-Dev mailing list