A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-November/093939.html below:

[Python-Dev] raw binary data and 2to3

[Python-Dev] raw binary data and 2to3 [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.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4