summaryrefslogtreecommitdiff
path: root/Lib/asyncio/streams.py
Commit message (Collapse)AuthorAgeFilesLines
...
* asyncio: sync with TulipVictor Stinner2014-07-081-1/+1
| | | | | | | | | | | - Tulip issue 185: Add a create_task() method to event loops. The create_task() method can be overriden in custom event loop to implement their own task class. For example, greenio and Pulsar projects use their own task class. The create_task() method is now preferred over creating directly task using the Task class. - tests: fix a warning - fix typo in the name of a test function - Update AbstractEventLoop: add new event loop methods; update also the unit test
* asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-291-8/+10
|
* asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if ↵Guido van Rossum2014-05-121-6/+11
| | | | data exceeds buffer limit.
* asyncio: Make tests pass on Windows.Guido van Rossum2014-02-181-1/+3
|
* asyncio: Add support for UNIX Domain Sockets.Yury Selivanov2014-02-181-1/+38
|
* asyncio.streams.StreamReader: Add 'at_eof()' methodYury Selivanov2014-02-061-0/+4
|
* asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_dataYury Selivanov2014-02-051-49/+24
|
* asyncio: Fix misc whitespace issues.Guido van Rossum2014-01-301-0/+1
|
* asyncio: Refactor drain logic in streams.py to be reusable.Guido van Rossum2014-01-291-36/+61
|
* Update asyncio from the Tulip projectVictor Stinner2014-01-251-6/+16
| | | | | | | | | | | | | | | | 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
* asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() nowVictor Stinner2014-01-231-7/+14
| | | | | raise a RuntimeError, instead of using an assertion, if another coroutine is already waiting for incoming data
* asyncio: Fix open_connection() documentation, writer is a StreamWriterVictor Stinner2014-01-231-1/+1
|
* asyncio: Tiny cleanup in streams.py.Guido van Rossum2014-01-101-2/+2
|
* Fix typo in asyncio/streams.py.Guido van Rossum2014-01-071-1/+1
|
* asyncio: Fix deadlock in readexactly(). Fixes issue #20154.Guido van Rossum2014-01-061-10/+19
|
* asyncio: Add StreamReaderProtocol to __all__.Guido van Rossum2013-11-251-1/+1
|
* asyncio: Add streams.start_server(), by Gustavo Carneiro.Guido van Rossum2013-11-191-2/+51
|
* Write flow control for asyncio (includes asyncio.streams overhaul).Guido van Rossum2013-10-181-58/+150
|
* Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵Guido van Rossum2013-10-181-2/+2
| | | | timeout in test_call_later().
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+257