Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28370: Speedup asyncio.StreamReader.readexactly | Yury Selivanov | 2016-10-05 | 1 | -19/+17 |
| | | | | Patch by Коренберг Марк. | ||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 1 | -0/+6 |
| | |||||
* | asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received | Yury Selivanov | 2016-05-20 | 1 | -0/+7 |
| | |||||
* | asyncio/streams: Fix code style; delete LimitOverrunError.message attr | Yury Selivanov | 2016-05-16 | 1 | -33/+34 |
| | |||||
* | Issue #27041: asyncio: Add loop.create_future method | Yury Selivanov | 2016-05-16 | 1 | -2/+2 |
| | |||||
* | asyncio: Break reference cycle in StreamReaderProtocol.connection_lost | Yury Selivanov | 2016-05-13 | 1 | -4/+7 |
| | |||||
* | Issue #26050: Add asyncio.StreamReader.readuntil() method. | Yury Selivanov | 2016-01-11 | 1 | -38/+187 |
| | | | | Patch by Марк Коренберг. | ||||
* | asyncio: Sync with github | Yury Selivanov | 2015-12-11 | 1 | -0/+3 |
| | |||||
* | asyncio: Add Transport.is_closing() | Yury Selivanov | 2015-11-16 | 1 | -1/+1 |
| | | | | See https://github.com/python/asyncio/pull/291 for details. | ||||
* | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | Issue #25441: asyncio: Raise error from drain() when socket is closed. | Guido van Rossum | 2015-10-19 | 1 | -0/+9 |
| | |||||
* | Fix StreamReader.__repr__ | Andrew Svetlov | 2015-09-29 | 1 | -1/+1 |
| | |||||
* | asyncio: sync with github | Victor Stinner | 2015-07-25 | 1 | -1/+19 |
| | | | | | | | | | * Fix ResourceWarning warnings in test_streams * Return True from StreamReader.eof_received() to fix http://bugs.python.org/issue24539 (but still needs a unittest). Add StreamReader.__repr__() for easy debugging. * remove unused imports * Issue #234: Drop JoinableQueue on Python 3.5+ | ||||
* | asyncio: Add asyncio.compat module | Victor Stinner | 2015-07-25 | 1 | -2/+2 |
| | | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module. | ||||
* | Sync asyncio code from default branch. | Yury Selivanov | 2015-05-13 | 1 | -0/+14 |
| | |||||
* | Issue #23456: Add missing @coroutine decorators in asyncio | Victor Stinner | 2015-03-18 | 1 | -0/+1 |
| | |||||
* | Backout changeset 6ab2575bc12b | Victor Stinner | 2015-01-15 | 1 | -21/+4 |
| | | | | | | | StreamWriter: close() now clears the reference to the transport StreamWriter now raises an exception if it is closed: write(), writelines(), write_eof(), can_write_eof(), get_extra_info(), drain(). | ||||
* | StreamWriter: close() now clears the reference to the transport | Victor Stinner | 2015-01-15 | 1 | -4/+21 |
| | | | | | StreamWriter now raises an exception if it is closed: write(), writelines(), write_eof(), can_write_eof(), get_extra_info(), drain(). | ||||
* | Issue #23198: Reactor asyncio.StreamReader | Victor Stinner | 2015-01-13 | 1 | -25/+22 |
| | | | | | | - Add a new _wakeup_waiter() method - Replace _create_waiter() method with a _wait_for_data() coroutine function - Use the value None instead of True or False to wake up the waiter | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2015-01-09 | 1 | -3/+7 |
| | | | | | | | * Tulip issue 184: FlowControlMixin constructor now get the event loop if the loop parameter is not set. Add unit tests to ensure that constructor of StreamReader and StreamReaderProtocol classes get the event loop. * Remove outdated TODO/XXX | ||||
* | asyncio, tulip issue 193: Convert StreamWriter.drain() to a classic coroutine | Victor Stinner | 2014-07-22 | 1 | -19/+18 |
| | | | | | Replace also _make_drain_waiter() function with a classic _drain_helper() coroutine. | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-14 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | * Tulip issue #184: Log subprocess events in debug mode - Log stdin, stdout and stderr transports and protocols - Log process identifier (pid) - Log connection of pipes - Log process exit - Log Process.communicate() tasks: feed stdin, read stdout and stderr - Add __repr__() method to many classes related to subprocesses * Add BaseSubprocessTransport._pid attribute. Store the pid so it is still accessible after the process exited. It's more convinient for debug. * create_connection(): add the socket in the "connected to" debug log * Clean up some docstrings and comments. Remove unused unimplemented _read_from_self(). | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-11 | 1 | -1/+0 |
| | | | | | | | | | | * Tulip issue #182: Improve logs of BaseEventLoop._run_once() - Don't log non-blocking poll - Only log polling with a timeout if it gets events or if it timed out after more than 1 second. * Fix some pyflakes warnings: remove unused imports | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-08 | 1 | -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 module | Victor Stinner | 2014-06-28 | 1 | -8/+10 |
| | |||||
* | asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if ↵ | Guido van Rossum | 2014-05-12 | 1 | -6/+11 |
| | | | | data exceeds buffer limit. | ||||
* | asyncio: Make tests pass on Windows. | Guido van Rossum | 2014-02-18 | 1 | -1/+3 |
| | |||||
* | asyncio: Add support for UNIX Domain Sockets. | Yury Selivanov | 2014-02-18 | 1 | -1/+38 |
| | |||||
* | asyncio.streams.StreamReader: Add 'at_eof()' method | Yury Selivanov | 2014-02-06 | 1 | -0/+4 |
| | |||||
* | asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data | Yury Selivanov | 2014-02-05 | 1 | -49/+24 |
| | |||||
* | asyncio: Fix misc whitespace issues. | Guido van Rossum | 2014-01-31 | 1 | -0/+1 |
| | |||||
* | asyncio: Refactor drain logic in streams.py to be reusable. | Guido van Rossum | 2014-01-29 | 1 | -36/+61 |
| | |||||
* | Update asyncio from the Tulip project | Victor Stinner | 2014-01-25 | 1 | -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() now | Victor Stinner | 2014-01-23 | 1 | -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 StreamWriter | Victor Stinner | 2014-01-23 | 1 | -1/+1 |
| | |||||
* | asyncio: Tiny cleanup in streams.py. | Guido van Rossum | 2014-01-10 | 1 | -2/+2 |
| | |||||
* | Fix typo in asyncio/streams.py. | Guido van Rossum | 2014-01-08 | 1 | -1/+1 |
| | |||||
* | asyncio: Fix deadlock in readexactly(). Fixes issue #20154. | Guido van Rossum | 2014-01-07 | 1 | -10/+19 |
| | |||||
* | asyncio: Add StreamReaderProtocol to __all__. | Guido van Rossum | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | asyncio: Add streams.start_server(), by Gustavo Carneiro. | Guido van Rossum | 2013-11-19 | 1 | -2/+51 |
| | |||||
* | Write flow control for asyncio (includes asyncio.streams overhaul). | Guido van Rossum | 2013-10-18 | 1 | -58/+150 |
| | |||||
* | Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵ | Guido van Rossum | 2013-10-18 | 1 | -2/+2 |
| | | | | timeout in test_call_later(). | ||||
* | Initial checkin of asyncio package (== Tulip, == PEP 3156). | Guido van Rossum | 2013-10-17 | 1 | -0/+257 |