diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2024-03-26 01:48:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 01:48:27 (GMT) |
commit | 9f74e86c78853c101a23e938f8e32ea838d8f62e (patch) | |
tree | 56052a234b4db2a7410c47c04381fe0cfb64492a /Misc | |
parent | 872e212378ef86392069034afd80bb53896fd93d (diff) | |
download | cpython-9f74e86c78853c101a23e938f8e32ea838d8f62e.zip cpython-9f74e86c78853c101a23e938f8e32ea838d8f62e.tar.gz cpython-9f74e86c78853c101a23e938f8e32ea838d8f62e.tar.bz2 |
gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203)
This fixes XML unittest fallout from the https://github.com/python/cpython/issues/115398 security fix. When configured using `--with-system-expat` on systems with older pre 2.6.0 versions of libexpat, our unittests were failing.
* sax|etree: Simplify Expat version guard where simplifiable
Idea by Matěj Cepl
* sax|etree: Fix reparse deferral tests for vanilla Expat <2.6.0
This *does not fix* the case of distros with an older version of libexpat with the 2.6.0 feature backported as a security fix. (Ubuntu is a known example of this with its libexpat1 2.5.0-2ubunutu0.1 package)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2024-03-24-23-49-25.gh-issue-117187.eMLT5n.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2024-03-24-23-49-25.gh-issue-117187.eMLT5n.rst b/Misc/NEWS.d/next/Tests/2024-03-24-23-49-25.gh-issue-117187.eMLT5n.rst new file mode 100644 index 0000000..0c0b0e0 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2024-03-24-23-49-25.gh-issue-117187.eMLT5n.rst @@ -0,0 +1 @@ +Fix XML tests for vanilla Expat <2.6.0. |