Author: bugman Date: Tue Mar 12 15:47:28 2013 New Revision: 18796 URL: http://svn.gna.org/viewcvs/relax?rev=18796&view=rev Log: 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'. Modified: trunk/compat.py trunk/data/__init__.py trunk/data/align_tensor.py trunk/data/diff_tensor.py trunk/generic_fns/pipes.py trunk/multi/result_queue.py trunk/relax.py trunk/relax_errors.py trunk/relax_io.py trunk/test_suite/gui_tests/base_classes.py trunk/test_suite/relax_test_runner.py [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/compat.py URL: http://svn.gna.org/viewcvs/relax/trunk/compat.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/data/__init__.py URL: http://svn.gna.org/viewcvs/relax/trunk/data/__init__.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/data/align_tensor.py URL: http://svn.gna.org/viewcvs/relax/trunk/data/align_tensor.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/data/diff_tensor.py URL: http://svn.gna.org/viewcvs/relax/trunk/data/diff_tensor.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/generic_fns/pipes.py URL: http://svn.gna.org/viewcvs/relax/trunk/generic_fns/pipes.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/multi/result_queue.py URL: http://svn.gna.org/viewcvs/relax/trunk/multi/result_queue.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/relax.py URL: http://svn.gna.org/viewcvs/relax/trunk/relax.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/relax_errors.py URL: http://svn.gna.org/viewcvs/relax/trunk/relax_errors.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/relax_io.py URL: http://svn.gna.org/viewcvs/relax/trunk/relax_io.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/test_suite/gui_tests/base_classes.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/base_classes.py?rev=18796&r1=18795&r2=18796&view=diff Modified: trunk/test_suite/relax_test_runner.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/relax_test_runner.py?rev=18796&r1=18795&r2=18796&view=diff