ENH: Changes for Python 3.