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/093925.html below:

[Python-Dev] raw binary data and 2to3

[Python-Dev] raw binary data and 2to3 [Python-Dev] raw binary data and 2to3skip at pobox.com skip at pobox.com
Mon Nov 9 02:41:24 CET 2009
SpamBayes has several files which contain raw 8-bit data embedded in
string literals.  Before I do manual work to make them parseable by 2to3
I thought I would ask if there was either a fixer available which I'm
not getting by default or if there is an opportunity to add a new fixer
to 2to3. 

The usage is pretty straightforward.  For example, a string literal
might contain the bytes for a GIF image:

    data = "GIF89a(..."

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

Skip
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