Skip to content

Conversation

@cmaloney
Copy link
Contributor

@cmaloney cmaloney commented Nov 7, 2025

Tweak doc to highlight it's the number of bytes.
@cmaloney
Copy link
Contributor Author

cmaloney commented Dec 3, 2025

This gets set by BufferedIO which always works in bytes:

_set_BlockingIOError(const char *msg, Py_ssize_t written)

cc: @pitrou , @vstinner

@hugovk hugovk merged commit e12c744 into python:main Dec 16, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Dec 16, 2025
@hugovk
Copy link
Member

hugovk commented Dec 16, 2025

And backport?

@vstinner vstinner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Dec 16, 2025
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 16, 2025
…honGH-141215)

(cherry picked from commit e12c744)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 16, 2025
…honGH-141215)

(cherry picked from commit e12c744)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Dec 16, 2025

GH-142815 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 Dec 16, 2025
@bedevere-app
Copy link

bedevere-app bot commented Dec 16, 2025

GH-142816 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 Dec 16, 2025
@vstinner
Copy link
Member

And backport?

Good idea. I backported the doc change to 3.13 and 3.14.

vstinner pushed a commit that referenced this pull request Dec 16, 2025
…-141215) (#142816)

gh-83926: BlockingIOError characters_written is byte count (GH-141215)
(cherry picked from commit e12c744)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
vstinner pushed a commit that referenced this pull request Dec 16, 2025
…-141215) (#142815)

gh-83926: BlockingIOError characters_written is byte count (GH-141215)
(cherry picked from commit e12c744)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
@cmaloney cmaloney deleted the blockingioerror_bytes branch December 16, 2025 17:37
@cmaloney
Copy link
Contributor Author

👍 for backports; thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants