Attempting to support Python3

It's not there yet, but it's closer.