Lines Matching refs:buffering
43 def open(file, mode="r", buffering=-1, encoding=None, errors=None, argument
172 if not isinstance(buffering, int):
173 raise TypeError("invalid buffering: %r" % buffering)
207 if binary and buffering == 1:
222 if buffering == 1 or buffering < 0 and raw.isatty():
223 buffering = -1
225 if buffering < 0:
226 buffering = DEFAULT_BUFFER_SIZE
233 buffering = bs
234 if buffering < 0:
236 if buffering == 0:
241 buffer = BufferedRandom(raw, buffering)
243 buffer = BufferedWriter(raw, buffering)
245 buffer = BufferedReader(raw, buffering)