Problem: _RawIOBase class does not implement readinto() and write() methods, which should raise NotImplementedError per CPython specification.
RustPython Location: crates/vm/src/stdlib/io.rs:629-702 - only contains read() and readall()
CPython 3.14 Reference: Modules/_io/iobase.c:1021-1048
static PyObject *
_io__RawIOBase_readinto_impl(PyObject *self, Py_buffer *b)
{
_PyIO_State *state = _PyIO_get_state_by_type(Py_TYPE(self));
return iobase_unsupported(state, "readinto");
}
static PyObject *
_io__RawIOBase_write_impl(PyObject *self, Py_buffer *b)
{
_PyIO_State *state = _PyIO_get_state_by_type(Py_TYPE(self));
return iobase_unsupported(state, "write");
}
Problem:
_RawIOBaseclass does not implementreadinto()andwrite()methods, which should raiseNotImplementedErrorper CPython specification.RustPython Location: crates/vm/src/stdlib/io.rs:629-702 - only contains
read()andreadall()CPython 3.14 Reference: Modules/_io/iobase.c:1021-1048