See issue 1580 for a description of the change that displays floats using the shortestish decimal expansion that round trips:
https://bugs.python.org/issue1580
I thought there was a PEP for it, but evidently not.
Although this is generally an improvement, it can contribute to confusion.