Skip to content

[3.15] gh-151640: Track sharing of BytesIO buffer in free-threaded builds (GH-151651)#153151

Open
ZeroIntensity wants to merge 1 commit into
python:3.15from
ZeroIntensity:backport-881a13a-3.15
Open

[3.15] gh-151640: Track sharing of BytesIO buffer in free-threaded builds (GH-151651)#153151
ZeroIntensity wants to merge 1 commit into
python:3.15from
ZeroIntensity:backport-881a13a-3.15

Conversation

@ZeroIntensity

@ZeroIntensity ZeroIntensity commented Jul 6, 2026

Copy link
Copy Markdown
Member

…eaded builds (pythonGH-151651)

(cherry picked from commit 881a13a)

Co-authored-by: Pedram Karimi <147748351+pedramkarimii@users.noreply.github.com>
@python-cla-bot

python-cla-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@ZeroIntensity

Copy link
Copy Markdown
Member Author

@pedramkarimii Could you resign the CLA using your GitHub account email?

@pedramkarimii

Copy link
Copy Markdown
Contributor

@ZeroIntensity Done, thank you. I re-signed the CLA using my GitHub account email.

@pedramkarimii

Copy link
Copy Markdown
Contributor

I investigated the failing free-threaded checks. In the 3.15 backport, the new regression test calls BytesIO.peek(), which is not available on that branch. This raises AttributeError in the reader threads and causes regrtest to report ENV CHANGED.

The observed failures are caused by the test incompatibility rather than the COW change itself. The backport test needs the peek() call removed. I can prepare a small follow-up patch for that adjustment if that would be helpful.

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