mirror of
https://github.com/python/cpython
synced 2026-09-29 09:25:29 +03:00
Add more porting notes.
This commit is contained in:
parent
dc51a3ca84
commit
e40808a935
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue