Open main menu

Changes

Relax 2.2.4

4 bytes added, 16:24, 11 September 2014
Formatting of all symbols/parameters.
* 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'.
* Updated the 2to3 checklist document to include multiple threads for faster operation.
* Eliminated the os.devnull import flag dep_check.devnull_import. This is not needed as the compat relax module defines os.devnull for Python <= &le; 2.3. The devnull module is no longer part of the relax information printout.* Added a more informative error message if the platform module is missing. This is for Python <= &le; 2.2. The file from http://hg.python.org/cpython/file/2.3/Lib/platform.py can simply be copied into the lib/pythonX.X/ directory to fix this.
* Slight change to the message printed if the platform module is missing.
* Modified the script for running the relax test-suite on multiple Python versions. The pre-2.2 Python versions are now commented out as well as the abortive Python 3.0.
Trusted, Bureaucrats
4,228

edits