Minor py3.3 fixes

Just to get the REPL going in Py3.3