diff options
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index a3aa4a8..9567016 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1766,3 +1766,10 @@ require changes to your code: with to use bytes instead of text, ``struct.pack('<6sHHBBB', b'GIF87a', x, y)``. (Discovered by David Beazley and fixed by Victor Stinner; :issue:`10783`. + +* The :class:`xml.etree.ElementTree` class now raises an + :exc:`xml.etree.ElementTree.ParseError` when a parse fails. Previously it + raised a :exc:`xml.parsers.expat.ExpatError`. + +* The new, longer :func:`str` value on floats may break doctests which rely on + the old output format. |