]> granicus.if.org Git - python/commitdiff
Add more porting notes.
authorRaymond Hettinger <python@rcn.com>
Wed, 5 Jan 2011 23:00:00 +0000 (23:00 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 5 Jan 2011 23:00:00 +0000 (23:00 +0000)
Doc/whatsnew/3.2.rst

index a3aa4a853d4fb8505691f4ef0c42f4cba3969dcc..956701665f71b0ada7d669bc265c87d56e77845a 100644 (file)
@@ -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.