Skip to content

fix thread safety of io.StringIO.truncate - #133732

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:stringio
May 9, 2025
Merged

kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:stringio

Conversation

@kumaraditya303

Copy link
Copy Markdown
Contributor

This fixes a minor thread safety issue in truncate where reading self->pos without critical section isn't safe.

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.

1 participant