Skip to content

Conversation

jsbronder
Copy link
Contributor

@jsbronder jsbronder commented Jun 12, 2025

Commit 73e8637 added 8 to the buffer_size when send could not be called right away. However, it did not complete this accounting by removing 8 from the buffer size when sending did finally complete.

@bedevere-app
Copy link

bedevere-app bot commented Jun 12, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented Jun 12, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

jsbronder added a commit to jsbronder/asyncio-dgram that referenced this pull request Jul 7, 2025
Accounting in asyncio.DatagramTransport is broken, so this won't pass.
python/cpython#135444
python/cpython#135445
jsbronder added a commit to jsbronder/asyncio-dgram that referenced this pull request Jul 7, 2025
Accounting in asyncio.DatagramTransport is broken, so this won't pass.
python/cpython#135444
python/cpython#135445
@kumaraditya303 kumaraditya303 added type-bug An unexpected behavior, bug, or error topic-asyncio needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jul 26, 2025
Commit 73e8637 added 8 to the
buffer_size when send could not be called right away.  However, it did
not complete this accounting by removing 8 from the buffer size when
sending did finally complete.
@kumaraditya303 kumaraditya303 merged commit e3ea861 into python:main Jul 30, 2025
45 checks passed
@miss-islington-app
Copy link

Thanks @jsbronder for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 30, 2025
…r datagram header size when data cannot be sent (pythonGH-135445)

(cherry picked from commit e3ea861)

Co-authored-by: Justin Bronder <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 30, 2025
…r datagram header size when data cannot be sent (pythonGH-135445)

(cherry picked from commit e3ea861)

Co-authored-by: Justin Bronder <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 30, 2025

GH-137245 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 30, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 30, 2025

GH-137246 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 30, 2025
kumaraditya303 added a commit that referenced this pull request Aug 3, 2025
…or datagram header size when data cannot be sent (GH-135445) (#137246)

gh-135444: fix `asyncio.DatagramTransport.sendto` to account for datagram header size when data cannot be sent (GH-135445)
(cherry picked from commit e3ea861)

Co-authored-by: Justin Bronder <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…r datagram header size when data cannot be sent (python#135445)

Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303 added a commit that referenced this pull request Oct 7, 2025
…or datagram header size when data cannot be sent (GH-135445) (#137245)

gh-135444: fix `asyncio.DatagramTransport.sendto` to account for datagram header size when data cannot be sent (GH-135445)
(cherry picked from commit e3ea861)

Co-authored-by: Justin Bronder <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-asyncio type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants