[WIP] Python 2+3 support.

maxint and minor additions.