Another Python3 improvement