Lines Matching defs:raw
37 "writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide\n"
40 "BufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its\n"
48 "interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO\n"
97 (For reading and writing raw bytes use binary mode and leave encoding
211 PyObject *raw, *modeobj = NULL, *buffer, *wrapper, *result = NULL, *path_or_fd = NULL;
329 raw = PyObject_CallFunction(RawIO_class, "OsOO",
335 if (raw == NULL)
337 result = raw;
348 PyObject *res = PyObject_CallMethodNoArgs(raw, &_Py_ID(isatty));
366 blksize_obj = PyObject_GetAttr(raw, &_Py_ID(_blksize));
380 /* if not buffering, returns the raw file object */
408 buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering);
413 Py_DECREF(raw);