diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-05 23:00:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-05 23:00:00 (GMT) |
commit | e40808a935352ed4c8e5f6f554d8e2124f44c645 (patch) | |
tree | 298a1cddbdf9b1d88a87334a78ba77a962f00ed8 /Doc | |
parent | dc51a3ca8478b8a9d971aa24432569585a49d13e (diff) | |
download | cpython-e40808a935352ed4c8e5f6f554d8e2124f44c645.zip cpython-e40808a935352ed4c8e5f6f554d8e2124f44c645.tar.gz cpython-e40808a935352ed4c8e5f6f554d8e2124f44c645.tar.bz2 |
Add more porting notes.
Diffstat (limited to 'Doc')
-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. |