summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.5 (asyncio)Victor Stinner2016-04-015-5/+10
|\
| * asyncio: Don't log ConnectionAbortedErrorVictor Stinner2016-04-015-5/+10
| | | | | | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows.
* | Merge 3.5 (asyncio)Victor Stinner2016-04-011-6/+8
|\ \ | |/
| * asyncio: allow None as wait timeoutVictor Stinner2016-04-011-6/+8
| | | | | | | | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum.
* | Add a source parameter to warnings.warn()Victor Stinner2016-03-227-8/+16
|/ | | | | | | | Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning
* asyncio: Remove duplicate bind addresses in create_server.Yury Selivanov2016-03-021-2/+5
| | | | Patch by Sebastien Bourdeauducq (issue #26338)
* asyncio: Prevent StopIteration from being thrown into a FutureYury Selivanov2016-03-021-0/+3
| | | | Patch by Chris Angelico (issue #26221)
* asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647)Yury Selivanov2016-03-021-1/+2
| | | | Patch by Vladimir Rutsky.
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-1/+1
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Fix error message in asyncio.selector_events.Victor Stinner2016-02-011-6/+6
| | | | Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>.
* Issue #26050: Add asyncio.StreamReader.readuntil() method.Yury Selivanov2016-01-111-38/+187
| | | | Patch by Марк Коренберг.
* Sync with asyncioAndrew Svetlov2016-01-111-1/+1
|
* Sync with asyncio repoAndrew Svetlov2016-01-112-7/+61
|
* asyncio: Skip getaddrinfo if host is already resolved.Yury Selivanov2015-12-174-45/+89
| | | | | | | | | | | | | getaddrinfo takes an exclusive lock on some platforms, causing clients to queue up waiting for the lock if many names are being resolved concurrently. Users may want to handle name resolution in their own code, for the sake of caching, using an alternate resolver, or to measure DNS duration separately from connection duration. Skip getaddrinfo if the "host" passed into create_connection is already resolved. See https://github.com/python/asyncio/pull/302 for details. Patch by A. Jesse Jiryu Davis.
* asyncio: Make Tasks check if Futures are attached to the same event loopYury Selivanov2015-12-111-1/+7
| | | | See https://github.com/python/asyncio/pull/303 for details
* asyncio: Sync with githubYury Selivanov2015-12-111-0/+3
|
* asyncio: Fix with githubYury Selivanov2015-11-201-0/+11
| | | | See https://github.com/python/asyncio/pull/295 for details
* asyncio: Drop "value" parameter from Task._step method.Yury Selivanov2015-11-201-10/+12
|
* Issue #25593: Change semantics of EventLoop.stop().Guido van Rossum2015-11-192-21/+15
|
* asyncio: Error if awaiting in parallel on the same coroutineYury Selivanov2015-11-181-1/+7
| | | | | | This change won't do anything in CPython 3.4 See https://github.com/python/asyncio/pull/293 for details.
* asyncio: Cleanup Future APIYury Selivanov2015-11-175-36/+42
| | | | See https://github.com/python/asyncio/pull/292 for details.
* asyncio: Sync with githubYury Selivanov2015-11-171-3/+0
|
* asyncio: Optimize Task._wakeupYury Selivanov2015-11-161-2/+11
| | | | See https://github.com/python/asyncio/pull/289 for details.
* asyncio: Add Transport.is_closing()Yury Selivanov2015-11-167-1/+23
| | | | See https://github.com/python/asyncio/pull/291 for details.
* asyncio: Optimize asyncio.sleep(0)Yury Selivanov2015-11-051-0/+4
|
* Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-022-2/+2
|
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-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 Rossum2015-10-191-0/+9
|
* Docs and one small improvement for issue #25304, by Vincent Michel.Guido van Rossum2015-10-051-1/+6
|
* Issue #23972: updates to asyncio datagram API. By Chris Laws.Guido van Rossum2015-10-052-68/+146
|
* Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.Guido van Rossum2015-10-032-17/+75
|
* asyncio: ensure_future() now understands awaitablesYury Selivanov2015-10-021-2/+14
|
* Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).Guido van Rossum2015-09-291-16/+21
|
* Fix StreamReader.__repr__Andrew Svetlov2015-09-291-1/+1
|
* Issue #25233: Rewrite the guts of Queue to be more understandable and correct.Guido van Rossum2015-09-281-111/+41
|
* Issue #23630, asyncio: host parameter of loop.create_server() can now be aVictor Stinner2015-09-212-8/+30
| | | | sequence of strings. Patch written by Yann Sionneau.
* Issue #25114, asyncio: add ssl_object extra info to SSL transportsVictor Stinner2015-09-212-0/+5
| | | | | | This info is required on Python 3.5 and newer to get specific information on the SSL object, like getting the binary peer certificate (instead of getting it as text).
* Issue #24867: Fix Task.get_stack() for 'async def' coroutinesYury Selivanov2015-08-141-1/+5
|
* Issue #23812: Fix getter-cancellation with many pending getters code pathYury Selivanov2015-08-061-1/+1
|
* asyncio: Make sure BaseException is re-raised in SSLProtocolYury Selivanov2015-08-051-1/+6
|
* Issue #23812: Fix asyncio.Queue.get() to avoid loosing items on cancellation.Yury Selivanov2015-08-051-9/+38
| | | | Patch by Gustavo J. A. M. Carneiro.
* asyncio: Sync with upstream (compat module)Yury Selivanov2015-08-046-11/+13
|
* asyncio: Sync with mainstreamYury Selivanov2015-08-041-1/+1
|
* Revert da29a94367b2Yury Selivanov2015-08-021-2/+3
|
* asyncio: Fix code styleYury Selivanov2015-08-021-3/+2
|
* Fix ResourceWarning in asyncio.BaseSubprocessTransportVictor Stinner2015-07-311-2/+7
| | | | | | | Issue #24763: Fix resource warnings when asyncio.BaseSubprocessTransport constructor fails, if subprocess.Popen raises an exception for example. Patch written by Martin Richard, test written by me.
* asyncio: sync with githubVictor Stinner2015-07-256-12/+25
| | | | | | | | | * 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 moduleVictor Stinner2015-07-258-30/+35
| | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module.
* asyncio: sync with github asyncioVictor Stinner2015-07-091-1/+1
| | | | | * queues: get coroutine from asyncio.coroutines, not from asyncio.tasks * tets: replace tulip with asyncio in comments
* Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapperYury Selivanov2015-07-031-0/+8
|