py3k compat exception