From e40808a935352ed4c8e5f6f554d8e2124f44c645 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 5 Jan 2011 23:00:00 +0000 Subject: [PATCH] Add more porting notes. --- Doc/whatsnew/3.2.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index a3aa4a853d..956701665f 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. -- 2.50.1