Menu

Commit [r26525]  Maximize  Restore  History

Better Python 3 compatibility in some test suite shared data profiling scripts.

These changes invert the logic, importing the Python 3 builtins module and aliasing xrange() to
range(), and passing if an ImporError occurs. The code will now no longer be modified by the 2to3
program.

bugman 2014-11-11

changed /trunk/test_suite/shared_data/curve_fitting/profiling/profiling_relax_fit.py
changed /trunk/test_suite/shared_data/dispersion/profiling/base.py
/trunk/test_suite/shared_data/curve_fitting/profiling/profiling_relax_fit.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/shared_data/dispersion/profiling/base.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.