Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | asyncio: Optimize asyncio.sleep(0) | Yury Selivanov | 2015-11-05 | 1 | -0/+4 | |
| | ||||||
* | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 2 | -2/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | Docs and one small improvement for issue #25304, by Vincent Michel. | Guido van Rossum | 2015-10-05 | 1 | -1/+6 | |
| | ||||||
* | Issue #23972: updates to asyncio datagram API. By Chris Laws. | Guido van Rossum | 2015-10-05 | 2 | -68/+146 | |
| | ||||||
* | Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. | Guido van Rossum | 2015-10-03 | 2 | -17/+75 | |
| | ||||||
* | asyncio: ensure_future() now understands awaitables | Yury Selivanov | 2015-10-02 | 1 | -2/+14 | |
| | ||||||
* | Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). | Guido van Rossum | 2015-09-29 | 1 | -16/+21 | |
| | ||||||
* | Fix StreamReader.__repr__ | Andrew Svetlov | 2015-09-29 | 1 | -1/+1 | |
| | ||||||
* | Issue #25233: Rewrite the guts of Queue to be more understandable and correct. | Guido van Rossum | 2015-09-28 | 1 | -111/+41 | |
| | ||||||
* | Issue #23630, asyncio: host parameter of loop.create_server() can now be a | Victor Stinner | 2015-09-21 | 2 | -8/+30 | |
| | | | | sequence of strings. Patch written by Yann Sionneau. | |||||
* | Issue #25114, asyncio: add ssl_object extra info to SSL transports | Victor Stinner | 2015-09-21 | 2 | -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' coroutines | Yury Selivanov | 2015-08-14 | 1 | -1/+5 | |
| | ||||||
* | Issue #23812: Fix getter-cancellation with many pending getters code path | Yury Selivanov | 2015-08-06 | 1 | -1/+1 | |
| | ||||||
* | asyncio: Make sure BaseException is re-raised in SSLProtocol | Yury Selivanov | 2015-08-05 | 1 | -1/+6 | |
| | ||||||
* | Issue #23812: Fix asyncio.Queue.get() to avoid loosing items on cancellation. | Yury Selivanov | 2015-08-05 | 1 | -9/+38 | |
| | | | | Patch by Gustavo J. A. M. Carneiro. | |||||
* | asyncio: Sync with upstream (compat module) | Yury Selivanov | 2015-08-04 | 6 | -11/+13 | |
| | ||||||
* | asyncio: Sync with mainstream | Yury Selivanov | 2015-08-04 | 1 | -1/+1 | |
| | ||||||
* | Revert da29a94367b2 | Yury Selivanov | 2015-08-02 | 1 | -2/+3 | |
| | ||||||
* | asyncio: Fix code style | Yury Selivanov | 2015-08-02 | 1 | -3/+2 | |
| | ||||||
* | Fix ResourceWarning in asyncio.BaseSubprocessTransport | Victor Stinner | 2015-07-31 | 1 | -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 github | Victor Stinner | 2015-07-25 | 6 | -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 module | Victor Stinner | 2015-07-25 | 8 | -30/+35 | |
| | | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module. | |||||
* | asyncio: sync with github asyncio | Victor Stinner | 2015-07-09 | 1 | -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.CoroWrapper | Yury Selivanov | 2015-07-03 | 1 | -0/+8 | |
| | ||||||
* | Fix asyncio unittests in debug mode | Yury Selivanov | 2015-06-24 | 1 | -0/+2 | |
| | ||||||
* | Issue #24400: Fix CoroWrapper for 'async def' coroutines | Yury Selivanov | 2015-06-24 | 1 | -10/+40 | |
| | ||||||
* | asyncio: Merge changes from issue #24400. | Yury Selivanov | 2015-06-24 | 1 | -31/+17 | |
| | ||||||
* | Issue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines | Yury Selivanov | 2015-06-01 | 1 | -1/+1 | |
| | ||||||
* | Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator | Yury Selivanov | 2015-05-31 | 1 | -2/+13 | |
| | ||||||
* | asyncio: Drop some useless code from tasks.py. | Yury Selivanov | 2015-05-28 | 1 | -7/+2 | |
| | | | | See also issue 24017. | |||||
* | asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5) | Yury Selivanov | 2015-05-13 | 1 | -0/+8 | |
| | ||||||
* | Sync asyncio code from default branch. | Yury Selivanov | 2015-05-13 | 2 | -55/+67 | |
| | ||||||
* | asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is ↵ | Yury Selivanov | 2015-05-12 | 1 | -35/+45 | |
| | | | | | | | | | | | | running. Previous approach of installing coroutine wrapper in loop.set_debug() and uninstalling it in loop.close() was very fragile. Most of asyncio tests do not call loop.close() at all. Since coroutine wrapper is a global setting, we have to make sure that it's only set when the loop is running, and is automatically unset when it stops running. Issue #24017. | |||||
* | asyncio: Support PEP 492. Issue #24017. | Yury Selivanov | 2015-05-12 | 4 | -24/+112 | |
| | ||||||
* | asyncio: async() function is deprecated in favour of ensure_future(). | Yury Selivanov | 2015-05-11 | 3 | -8/+23 | |
| | ||||||
* | Sync asyncio changes from the main repo. | Yury Selivanov | 2015-05-11 | 2 | -12/+42 | |
| | ||||||
* | Asyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions ↵ | Guido van Rossum | 2015-05-03 | 3 | -11/+23 | |
| | | | | without __name__. | |||||
* | Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge. | Guido van Rossum | 2015-04-20 | 1 | -6/+13 | |
| | ||||||
* | Issue #23879, asyncio: SelectorEventLoop.sock_connect() must not call connect() | Victor Stinner | 2015-04-07 | 1 | -8/+6 | |
| | | | | | | | | again if the first call to connect() raises an InterruptedError. When the C function connect() fails with EINTR, the connection runs in background. We have to wait until the socket becomes writable to be notified when the connection succeed or fails. | |||||
* | asyncio: Fix _SelectorTransport.__repr__() if the event loop is closed | Victor Stinner | 2015-03-27 | 1 | -1/+1 | |
| | ||||||
* | Issue #23456: Add missing @coroutine decorators in asyncio | Victor Stinner | 2015-03-18 | 3 | -0/+5 | |
| | ||||||
* | asyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet | Victor Stinner | 2015-03-10 | 1 | -2/+5 | |
| | | | | | Replace "running" with "not started" and don't show the pid if the subprocess didn't start yet. | |||||
* | Issue #23537: Remove 2 unused private methods of asyncio.BaseSubprocessTransport | Victor Stinner | 2015-02-27 | 1 | -6/+0 | |
| | | | | Methods only raise NotImplementedError and are never used. | |||||
* | asyncio, Tulip issue 220: Merge JoinableQueue with Queue. | Victor Stinner | 2015-02-17 | 1 | -59/+43 | |
| | | | | | | | | | | | | | | Merge JoinableQueue with Queue. To more closely match the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue is deleted. Docstring for Queue.join shouldn't mention threads. Restore JoinableQueue as a deprecated alias for Queue. To more closely match the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue remains as a deprecated alias for Queue to avoid needlessly breaking too much code that depended on it. Patch written by A. Jesse Jiryu Davis <jesse@mongodb.com>. | |||||
* | asyncio: BaseSubprocessTransport: repr() mentions when the child process is | Victor Stinner | 2015-02-17 | 1 | -0/+2 | |
| | | | | running | |||||
* | asyncio: BaseSubprocessTransport.close() doesn't try to kill the process if it | Victor Stinner | 2015-02-10 | 1 | -1/+6 | |
| | | | | already finished | |||||
* | asyncio: BaseEventLoop: rename _owner to _thread_id | Victor Stinner | 2015-02-05 | 1 | -6/+6 | |
| | ||||||
* | asyncio: Only call _check_resolved_address() in debug mode | Victor Stinner | 2015-02-04 | 3 | -18/+36 | |
| | | | | | | | | | | | | | | | | * _check_resolved_address() is implemented with getaddrinfo() which is slow * If available, use socket.inet_pton() instead of socket.getaddrinfo(), because it is much faster Microbenchmark (timeit) on Fedora 21 (Python 3.4, Linux 3.17, glibc 2.20) to validate the IPV4 address "127.0.0.1" or the IPv6 address "::1": * getaddrinfo() 10.4 usec per loop * inet_pton(): 0.285 usec per loop On glibc older than 2.14, getaddrinfo() always requests the list of all local IP addresses to the kernel (using a NETLINK socket). getaddrinfo() has other known issues, it's better to avoid it when it is possible. |