Menu

Commit [r17669]  Maximize  Restore  History

Python 3 fix for the reading of text from a bz2 file.

In Python 3, the readlines() function was returning a list of bytes types, not a list of strings.
The relax_io.extract_data() function now detects this and converts to string when possible.

bugman 2012-10-02

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.