History for Lib/xml/etree/ElementTree.py - python/cpython · GitHub

github.com

Tin mới

gh-156765: Fix inaccuracies in the ElementTree documentation (GH-156766)

gh-156765: Fix inaccuracies in the ElementTree documentation (GH-156766)

gh-156658: Only XML white space characters are treated as white space (GH-156659)

gh-156658: Only XML white space characters are treated as white space (GH-156659)

gh-89499: Support the standalone document declaration in ElementTree (GH-156730)

gh-89499: Support the standalone document declaration in ElementTree (GH-156730)

gh-90756: Fix the ElementTree XML declaration for utf-8-sig (GH-31043)

gh-90756: Fix the ElementTree XML declaration for utf-8-sig (GH-31043)

gh-118318: Remove outdated c14n references from ElementTree (GH-118319)

gh-118318: Remove outdated c14n references from ElementTree (GH-118319)

gh-149489: Fix ElementTree serialization to HTML (GH-149490)

gh-149489: Fix ElementTree serialization to HTML (GH-149490)

gh-150285: Fix too long docstrings in some Python modules (GH-150366)

gh-150285: Fix too long docstrings in some Python modules (GH-150366)

gh-144270: Make SubElement parent and tag positional-only (GH-144845)

gh-144270: Make SubElement parent and tag positional-only (GH-144845)

gh-145056: Accept frozendict in xml.etree (#145508)

gh-145056: Accept frozendict in xml.etree (#145508)

gh-142306: Improve errors for Element.remove() (GH-142308)

gh-142306: Improve errors for Element.remove() (GH-142308)

gh-76007: Deprecate `VERSION` in `xml.etree.ElementTree` & `version` in `xml.sax.expatreader` & `xml.sax.handler` (#142898)

gh-76007: Deprecate `VERSION` in `xml.etree.ElementTree` & `version` in `xml.sax.expatreader` & `xml.sax.handler` (#142898)

gh-140601: Add ResourceWarning to iterparse when not closed (GH-140603)

gh-140601: Add ResourceWarning to iterparse when not closed (GH-140603)

gh-135640: Adds more type checking to ElementTree (GH-135643)

gh-135640: Adds more type checking to ElementTree (GH-135643)

gh-131938: Update exception message for `Element.remove()` when an element is not found (#131972)

gh-131938: Update exception message for `Element.remove()` when an element is not found (#131972)

gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762)

gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762)

gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623)

gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623)

gh-69893: Add the close() method for xml.etree.ElementTree.iterparse() iterator (GH-114534)

gh-69893: Add the close() method for xml.etree.ElementTree.iterparse() iterator (GH-114534)

gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755)

gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755)

gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269)

gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269)

gh-83122: Deprecate testing element truth values in `ElementTree` (#31149)

gh-83122: Deprecate testing element truth values in `ElementTree` (#31149)

bpo-45975: Simplify some while-loops with walrus operator (GH-29347)

bpo-45975: Simplify some while-loops with walrus operator (GH-29347)

gh-94383: Remove ElementTree.Element.copy() method (#94384)

gh-94383: Remove ElementTree.Element.copy() method (#94384)

gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426)

gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426)

gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903)

gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903)

bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)

bpo-46786: Make ElementTree write the HTML tags embed, source, track, wbr as empty tags (GH-31406)

Update URLs in comments and metadata to use HTTPS (GH-27458)

bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751)

bpo-42151: don't set specified_attributes=1 in pure Python ElementTree (GH-22987)

bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes when a default namespace was defined. (GH-22474)

bpo-39011: Preserve line endings within ElementTree attributes (GH-18468)

bpo-32424: Deprecate xml.etree.ElementTree.Element.copy() in favor of copy.copy() (GH-12995)

bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622)

bpo-36543: Remove old-deprecated ElementTree features. (GH-12707)

bpo-14465: Add an indent() function to xml.etree.ElementTree to pretty-print XML trees (GH-15200)