Guido van Rossum
59a5533028
asyncio: Make tests pass on Windows.
2014-02-18 10:24:30 -08:00
Yury Selivanov
88a5bf0b2e
asyncio: Add support for UNIX Domain Sockets.
2014-02-18 12:15:06 -05:00
Yury Selivanov
f0020f5d77
asyncio.streams.StreamReader: Add 'at_eof()' method
2014-02-06 00:14:30 -05:00
Yury Selivanov
e694c9745f
asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data
2014-02-05 18:11:13 -05:00
Guido van Rossum
a849be9c64
asyncio: Fix misc whitespace issues.
2014-01-30 16:05:28 -08:00
Guido van Rossum
4d62d0b353
asyncio: Refactor drain logic in streams.py to be reusable.
2014-01-29 14:24:45 -08:00
Victor Stinner
8dffc456d7
Update asyncio from the Tulip project
...
Major changes:
- StreamReader.readexactly() now raises an IncompleteReadError if the
end of stream is reached before we received enough bytes, instead of
returning less bytes than requested.
- Unit tests use the main asyncio module instead of submodules like events
- _UnixWritePipeTransport now also supports character devices, as
_UnixReadPipeTransport. Patch written by Jonathan Slenders.
- Export more symbols: BaseEventLoop, BaseProactorEventLoop,
BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
2014-01-25 15:32:06 +01:00
Victor Stinner
183e347796
asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() now
...
raise a RuntimeError, instead of using an assertion, if another coroutine is
already waiting for incoming data
2014-01-23 17:40:03 +01:00
Victor Stinner
3eb45d3eae
asyncio: Fix open_connection() documentation, writer is a StreamWriter
2014-01-23 10:20:18 +01:00
Guido van Rossum
efef9d3f25
asyncio: Tiny cleanup in streams.py.
2014-01-10 13:26:38 -08:00
Guido van Rossum
6188bd498f
Fix typo in asyncio/streams.py.
2014-01-07 17:03:26 -08:00
Guido van Rossum
3845521b4b
asyncio: Fix deadlock in readexactly(). Fixes issue #20154 .
2014-01-06 16:09:18 -08:00
Guido van Rossum
49c96fb7fa
asyncio: Add StreamReaderProtocol to __all__.
2013-11-25 15:07:18 -08:00
Guido van Rossum
1540b16ff4
asyncio: Add streams.start_server(), by Gustavo Carneiro.
2013-11-19 11:43:38 -08:00
Guido van Rossum
355491dc47
Write flow control for asyncio (includes asyncio.streams overhaul).
2013-10-18 15:17:11 -07:00
Guido van Rossum
57497ad181
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
2013-10-18 07:58:20 -07:00
Guido van Rossum
27b7c7ebf1
Initial checkin of asyncio package (== Tulip, == PEP 3156).
2013-10-17 13:40:50 -07:00