Menu

Commit [r17701]  Maximize  Restore  History

Created the relax_io.readlines method for handling the bz2 and gzip module byte strings in Python 3.

The bz2.BZ2File and gzip.GzipFile classes now return lists of bytes strings from their readlines()
methods in Python 3. This causes failures all over relax. This behaviour is probably a bug in
these classes. The relax_io.readlines method is a workaround for this problem, to have a list of
standard strings returned.

bugman 2012-10-05

changed /trunk/relax_io.py
/trunk/relax_io.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.