Skip to content

gh-101819: Port _io.PyBytesIOBuffer_Type to heap type - #104264

Merged
erlend-aasland merged 2 commits into
python:mainfrom
erlend-aasland:isolate-io/bytesiobuf
May 7, 2023
Merged

gh-101819: Port _io.PyBytesIOBuffer_Type to heap type#104264
erlend-aasland merged 2 commits into
python:mainfrom
erlend-aasland:isolate-io/bytesiobuf

Conversation

@erlend-aasland

@erlend-aaslanderlend-aasland commented May 7, 2023

Copy link
Copy Markdown
Contributor

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 7e628db 🤖

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label May 7, 2023
Comment threadModules/_io/_iomodule.c Outdated

// PyRawIOBase_Type(PyIOBase_Type) subclasses
state->PyBytesIOBuffer_Type = (PyTypeObject *)Py_NewRef(&_PyBytesIOBuffer_Type);
ADD_TYPE(m, state->PyBytesIOBuffer_Type, &bytesiobuf_spec, NULL); // XXX: should be subclass of PyRawIOBase_Type?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I'll remove the XXX comment and move this line up to 753 when the refleak CI comes out green.

@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

CI including refleak bots are all green. I'll resolve my remark from #104264 (comment) and enable automerge.

@erlend-aasland
erlend-aasland enabled auto-merge (squash) May 7, 2023 13:32
@erlend-aasland
erlend-aasland merged commit 7a7eaff into python:mainMay 7, 2023
@erlend-aasland
erlend-aasland deleted the isolate-io/bytesiobuf branch May 7, 2023 14:20
jbower-fb pushed a commit to jbower-fb/cpython that referenced this pull request May 8, 2023

@vstinnervstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review after the merge: LGTM.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@erlend-aasland@bedevere-bot@vstinner@kumaraditya303