]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45948: Remove constructor discrepancy in C version of ElementTree.XMLParser ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 12 Feb 2022 08:50:11 +0000 (00:50 -0800)
committerGitHub <noreply@github.com>
Sat, 12 Feb 2022 08:50:11 +0000 (00:50 -0800)
commitb7a65c939c93e7910abc8c9d4a129ff385714824
tree88f9d3e9edc08e3ad99ed5545cafe290d69e861a
parentf2fbfbe0ec57ec39b3099dae62571a48d5fe8729
bpo-45948: Remove constructor discrepancy in C version of ElementTree.XMLParser (GH-31152)

Both implementations accept target=None now.
(cherry picked from commit 168fd6453b5de15236116f9261d64601d92571ac)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Lib/test/test_xml_etree.py
Misc/NEWS.d/next/Library/2022-02-05-18-22-05.bpo-45948.w4mCnE.rst [new file with mode: 0644]
Modules/_elementtree.c
Modules/clinic/_elementtree.c.h