python 3 compatable