fix Python2 infinite recursion on __name__