mirror of
https://github.com/python/cpython.git
synced 2024-12-01 05:45:40 +08:00
Add more porting notes.
This commit is contained in:
parent
dc51a3ca84
commit
e40808a935
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user