Skip to content

[3.14] gh-134908: Protect textiowrapper_iternext with critical section (gh-134910) - #135039

Merged
colesbury merged 1 commit into
python:3.14from
miss-islington:backport-44fb7c3-3.14
Jun 2, 2025
Merged

[3.14] gh-134908: Protect textiowrapper_iternext with critical section (gh-134910)#135039
colesbury merged 1 commit into
python:3.14from
miss-islington:backport-44fb7c3-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

The textiowrapper_iternext function called _textiowrapper_writeflush, but did not
use a critical section, making it racy in free-threaded builds.
(cherry picked from commit 44fb7c3)

Co-authored-by: Duane Griffin duaneg@dghda.com

…on (pythongh-134910)
The `textiowrapper_iternext` function called `_textiowrapper_writeflush`, but did not
use a critical section, making it racy in free-threaded builds.
(cherry picked from commit 44fb7c3)
Co-authored-by: Duane Griffin <duaneg@dghda.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@colesbury@duaneg