Skip to content
Prev Previous commit
Next Next commit
Update Modules/_io/iobase.c
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
cmaloney and vstinner authored Nov 18, 2025
commit 82643f8dd25704d3e2eb429cd88f60c92298e9a5
2 changes: 1 addition & 1 deletion Modules/_io/iobase.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@
if (PyByteArray_Resize(b, bytes_filled) < 0) {
goto cleanup;
}
res = PyObject_CallMethod(b, "take_bytes", NULL);
res = _PyObject_CallMethod(b, &_Py_ID(takes_bytes), NULL);

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows / Build and test (x64)

'PyObject *_PyObject_CallMethod(PyObject *,PyObject *,const char *,...)': too few arguments for call [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows / Build and test (x64)

'_py_takes_bytes': is not a member of '<unnamed-tag>' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / Build and test (x64)

'PyObject *_PyObject_CallMethod(PyObject *,PyObject *,const char *,...)': too few arguments for call [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / Build and test (x64)

'_py_takes_bytes': is not a member of '<unnamed-tag>' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / Build and test (arm64)

'PyObject *_PyObject_CallMethod(PyObject *,PyObject *,const char *,...)': too few arguments for call [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / Build and test (arm64)

'_py_takes_bytes': is not a member of '<unnamed-tag>' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows / Build and test (arm64)

'PyObject *_PyObject_CallMethod(PyObject *,PyObject *,const char *,...)': too few arguments for call [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check failure on line 954 in Modules/_io/iobase.c

View workflow job for this annotation

GitHub Actions / Windows / Build and test (arm64)

'_py_takes_bytes': is not a member of '<unnamed-tag>' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

cleanup:
Py_DECREF(b);
Expand Down
Loading