HomeSort by relevance Sort by last modified time
    Searched refs:_write_fut (Results 1 - 2 of 2) sorted by null

  /external/python/cpython3/Lib/asyncio/
proactor_events.py 37 self._write_fut = None
60 if self._write_fut is not None:
61 info.append(f'write={self._write_fut!r}')
85 if not self._buffer and self._write_fut is None:
122 if self._write_fut:
123 self._write_fut.cancel()
124 self._write_fut = None
326 # 1. IDLE: _write_fut and _buffer both None
327 # 2. WRITING: _write_fut set; _buffer None
328 # 3. BACKED UP: _write_fut set; _buffer a bytearra
    [all...]
  /external/python/cpython3/Lib/test/test_asyncio/
test_proactor_events.py 146 tr._write_fut = mock.Mock()
185 tr._write_fut = fut
187 self.assertIsNone(tr._write_fut)
194 tr._write_fut = fut
197 self.assertIsNone(tr._write_fut)
222 tr._write_fut = mock.Mock()
246 write_fut = tr._write_fut = mock.Mock()
    [all...]

Completed in 403 milliseconds