python 3 fix proposal