GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.15] gh-151640: Track sharing of `BytesIO` buffer in free-threaded builds (GH-151651) by ZeroIntensity · Pull Request #153151 · python/cpython

Conversation

@ZeroIntensity

@ZeroIntensity ZeroIntensity commented Jul 6, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

(cherry picked from commit 881a13a)

  • Issue: Data race between resize_buffer_lock_held and _Py_DecRefShared on a shared BytesIO buffer #151640

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pedramkarimii @ZeroIntensity
[3.15] pythongh-151640: Track sharing of BytesIO buffer in free-thr…
b69e2dc
…eaded builds (pythonGH-151651)

(cherry picked from commit 881a13a)

Co-authored-by: Pedram Karimi <[email protected]>
@python-cla-bot

python-cla-bot Bot commented Jul 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Jul 6, 2026
Data race between resize_buffer_lock_held and _Py_DecRefShared on a shared BytesIO buffer #151640
Closed
gh-151640: Track sharing of BytesIO buffer in free-threaded builds #151651
Merged
@bedevere-app bedevere-app Bot added the awaiting core review label Jul 6, 2026
@ZeroIntensity

ZeroIntensity commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pedramkarimii

pedramkarimii commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pedramkarimii

pedramkarimii commented Jul 6, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nascheme
Remove peek() call, not in 3.15.
f6b9a6a
@nascheme
nascheme merged commit 3e19df0 into python:3.15 Jul 9, 2026
53 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label Jul 9, 2026
@ZeroIntensity
ZeroIntensity deleted the backport-881a13a-3.15 branch July 9, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ZeroIntensity @pedramkarimii @nascheme
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.