Skip to content

[pull] main from python:main - #315

Merged
pull[bot] merged 5 commits into
tj-python:mainfrom
python:main
Oct 5, 2025
Merged

pull[bot] merged 5 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Oct 5, 2025 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )


📚 Documentation preview 📚: https://cpython-previews--315.org.readthedocs.build/

picnixz and others added 5 commits October 5, 2025 12:03
…`pyexpat` (#139403)

* Modules/pyexpat.c: Disallow collection of in-use parent parsers.

Within libexpat, a parser created via `XML_ExternalEntityParserCreate`
is relying on its parent parser throughout its entire lifetime.
Prior to this fix, is was possible for the parent parser to be
garbage-collected too early.
Fix a flaky test introduced in 13dc2fd.

After a single HTTP/0.9 request, both client and server are expected to
close the connection on their side. In particular, if a client sends two
requests with the same connection, only the first one should be handled.

In the tests, it might happen that checking for the second request to be
ignored did not take into account that the server may have already closed
the connection. This flaky behavior was first observed on macOS CI workers
but could not be reproduced locally on a Linux machine.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Oct 5, 2025
@pull pull Bot added the ⤵️ pull label Oct 5, 2025
@pull
pull Bot merged commit dadbb26 into tj-python:main Oct 5, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants