[Python-checkins] r87775 - python/branches/py3k/Doc/whatsnew/3.2.rst

raymond.hettinger python-checkins at python.org
Thu Jan 6 00:00:00 CET 2011


Author: raymond.hettinger
Date: Thu Jan 6 00:00:00 2011
New Revision: 87775
Log:
Add more porting notes.
Modified:
 python/branches/py3k/Doc/whatsnew/3.2.rst
Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst	Thu Jan 6 00:00:00 2011
@@ -1766,3 +1766,10 @@
 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /