Updated gwpy to python3-compatible syntax
This PR makes numerous changes to achieve (or get closer to) python3 compatibility, including (but not limited to):
-
dict.iteritems()
->dict.items()
and similar - use
six.string_types
instead of(unicode, str)
- handle
bytes
from HTTP requests - update imports for renamed modules (mainly using
six.moves
) - use
lal.LIGOTimeGPS
as standard,glue.lal.LIGOTimeGPS
isn't python3-compatible
For full details, just read the diff.