Python 3 fixes. octal constants