py3k compatibility, all tests passed