Lines Matching refs:write
38 "In addition, read(), readinto() and write() may raise\n"
182 return bufferediobase_unsupported("write");
1643 /* Flush the write buffer if necessary */
1818 res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(write), memobj);
1836 "raw write() returned invalid length %zd "
1870 _set_BlockingIOError("write could not complete without blocking",
1877 signal (see write(2)). We must run signal handlers before
1902 _io.BufferedWriter.write
1923 PyErr_SetString(PyExc_ValueError, "write to closed file");
1927 /* Fast path: the data to write can be fully buffered. */
1945 /* First write the current buffer */
1980 _set_BlockingIOError("write could not complete without blocking",
1999 /* Then write buf itself. At this point the buffer has been emptied. */
2017 _set_BlockingIOError("write could not complete without "
2027 signal (see write(2)). We must run signal handlers before
2081 form a sequential IO object that can read and write. This is typically
2196 return _forward_call(self->writer, &_Py_ID(write), args);
2321 {"write", bufferediobase_write, METH_VARARGS, bufferediobase_write_doc},
2561 {"write", (PyCFunction)bufferedrwpair_write, METH_VARARGS},