First steps for real Python3 compatibility