-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-101819: Port _io.PyBytesIOBuffer_Type to heap type #104264
gh-101819: Port _io.PyBytesIOBuffer_Type to heap type #104264
Conversation
🤖 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. |
Modules/_io/_iomodule.c
Outdated
@@ -771,7 +768,7 @@ PyInit__io(void) | |||
state->PyBufferedIOBase_Type); | |||
|
|||
// 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? |
There was a problem hiding this comment.
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.
CI including refleak bots are all green. I'll resolve my remark from #104264 (comment) and enable automerge. |
There was a problem hiding this comment.
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.
_io
extension module #101819