Python3 changes

Some minor fixes that I missed in the last PR, and a NEWS entry.