CLN: Multiple changes to add 2/3 compatibility

CLN: py3compat --> compat