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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to