cpython/Lib/xml/etree
Neko Asakura afd8113e9d
gh-144270: Make SubElement parent and tag positional-only (GH-144845)
The C accelerator implementations use PyArg_ParseTuple, which
inherently enforces positional-only parameters. The Python fallback
allowed these as keyword arguments, creating a behavioral mismatch.

Make the tag parameter of Element.__init__ and the parent and tag
parameters of SubElement positional-only to align with the C
accelerator.
2026-03-30 19:42:24 +03:00
..
__init__.py Update URLs in comments and metadata to use HTTPS (GH-27458) 2021-07-30 15:54:46 +02:00
cElementTree.py bpo-36543: Revert "bpo-36543: Remove the xml.etree.cElementTree module." (GH-20117) 2020-06-10 17:39:12 +02:00
ElementInclude.py gh-101549: fix documentation of xml.etree.ElementInclude (#101550) 2024-04-11 14:23:52 +00:00
ElementPath.py gh-91447: Fix findtext to only give an empty string on None (GH-91486) 2022-08-01 09:52:39 -07:00
ElementTree.py gh-144270: Make SubElement parent and tag positional-only (GH-144845) 2026-03-30 19:42:24 +03:00