New utils.compat module
This PR introduces the gwpy.utils.compat
module to help package objects that are incompatible between python versions.
The only content at this time is the OrderedDict
, which requires an ImportError
check for python2.6. All other modules have been modified to import OrderedDict
from this new module, rather than checking the import themselves.