Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.13] gh-134908: Protect textiowrapper_iternext with critical section (gh-134910)#135040

Merged
colesbury merged 1 commit intopython:3.13python/cpython:3.13from
colesbury:backport-44fb7c3-3.13colesbury/cpython:backport-44fb7c3-3.13Copy head branch name to clipboard
Jun 2, 2025
Merged

[3.13] gh-134908: Protect textiowrapper_iternext with critical section (gh-134910)#135040
colesbury merged 1 commit intopython:3.13python/cpython:3.13from
colesbury:backport-44fb7c3-3.13colesbury/cpython:backport-44fb7c3-3.13Copy head branch name to clipboard

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Jun 2, 2025

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)

…l section (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>
@colesbury colesbury force-pushed the backport-44fb7c3-3.13 branch from 731df24 to 1f2998b Compare June 2, 2025 19:17
@colesbury colesbury enabled auto-merge (squash) June 2, 2025 19:20
@colesbury colesbury merged commit a9b8ffd into python:3.13 Jun 2, 2025
37 checks passed
@colesbury colesbury deleted the backport-44fb7c3-3.13 branch June 2, 2025 20:10
Sign up for free to 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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.