Skip to content

workaround upstream bug in asyncio.DatagramTransport flow control accounting #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 8, 2025

Conversation

jsbronder
Copy link
Owner

@jsbronder jsbronder commented Jul 7, 2025

test: skip pause/resume test on python 3.13 and greater

Accounting in asyncio.DatagramTransport is broken, so this won't pass.
python/cpython#135444
python/cpython#135445

`make V=1` will enable extra debugging information when running specific
tests or type checking.
@jsbronder jsbronder changed the title workaround https://github.com/python/cpython/issues/135444 workaround upstream bug in asyncio.DatagramTransport flow control accounting Jul 7, 2025
jsbronder added 2 commits July 7, 2025 16:58
Accounting in asyncio.DatagramTransport is broken, so this won't pass.
python/cpython#135444
python/cpython#135445
In python 3.13, asyncio starts checking if the underlying fileno is
something that can actually be passed to epoll, which is not the case
for regular files.  We can simply switch to using an actual sockets
fileno instead of some regular file to resolve this.
@jsbronder jsbronder merged commit 1ea9bad into master Jul 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant