Menu

Commit [r18796]  Maximize  Restore  History

Improvements for Python 2 and 3 compatibility.

Much of the Python 2 verses 3 compatibility, as well as different Python 2 version compatibility and
different Python 3 version compatibility, code has been shifted into the compat module. The
different parts of relax now import from the compat module for modules/packages with different
import semantics for different Python versions.

In addition the different handling of the bz2 and gzip module for reading and writing files has been
shifted from 'relax_io' into 'compat'.

bugman 2013-03-12

changed /trunk/compat.py
changed /trunk/data/__init__.py
changed /trunk/data/align_tensor.py
changed /trunk/data/diff_tensor.py
changed /trunk/generic_fns/pipes.py
changed /trunk/multi/result_queue.py
changed /trunk/relax.py
changed /trunk/relax_errors.py
changed /trunk/relax_io.py
changed /trunk/test_suite/gui_tests/base_classes.py
changed /trunk/test_suite/relax_test_runner.py
/trunk/compat.py Diff Switch to side-by-side view
Loading...
/trunk/data/__init__.py Diff Switch to side-by-side view
Loading...
/trunk/data/align_tensor.py Diff Switch to side-by-side view
Loading...
/trunk/data/diff_tensor.py Diff Switch to side-by-side view
Loading...
/trunk/generic_fns/pipes.py Diff Switch to side-by-side view
Loading...
/trunk/multi/result_queue.py Diff Switch to side-by-side view
Loading...
/trunk/relax.py Diff Switch to side-by-side view
Loading...
/trunk/relax_errors.py Diff Switch to side-by-side view
Loading...
/trunk/relax_io.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/gui_tests/base_classes.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/relax_test_runner.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.