Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) | INADA Naoki | 2017-05-11 | 1 | -1/+6 |
| | | | | | | | | | | | | when there are no more `await` or `yield (from)` before return in coroutine, cancel was ignored. example: async def coro(): asyncio.Task.current_task().cancel() return 42 ... res = await coro() # should raise CancelledError | ||||
* | bpo-29617: Remove Python 3.3 support from asyncio (GH-232) | INADA Naoki | 2017-04-25 | 12 | -223/+65 |
| | |||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -1/+2 |
| | | | | collections. (#1263) | ||||
* | bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Future ↵ | Charles Renwick | 2017-04-21 | 1 | -1/+2 |
| | | | | (GH-1170) | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -1/+1 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | Fix small exception typos in Lib (#818) | Jim Fasarakis-Hilliard | 2017-03-26 | 1 | -1/+1 |
| | |||||
* | bpo-29742: asyncio get_extra_info() throws exception (#525) | Nikolay Kim | 2017-03-12 | 1 | -1/+3 |
| | |||||
* | asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop | Yury Selivanov | 2017-03-03 | 1 | -2/+3 |
| | |||||
* | asyncio: Fix trailing whitespace/code style | Yury Selivanov | 2017-03-03 | 1 | -2/+2 |
| | |||||
* | bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) | Seth M. Larson | 2017-03-03 | 1 | -2/+15 |
| | |||||
* | bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) | Yury Selivanov | 2017-03-03 | 2 | -2/+11 |
| | |||||
* | Issue #29314: Merge with 3.6 | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
|\ | |||||
| * | Issue #29314: Merge with 3.5 | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
| |\ | |||||
| | * | Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
| | | | |||||
* | | | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 1 | -1/+0 |
|/ / | |||||
* | | Merge 3.5 (issue #28990) | Yury Selivanov | 2016-12-16 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #28990: Fix SSL hanging if connection is closed before handshake ↵ | Yury Selivanov | 2016-12-16 | 1 | -0/+1 |
| | | | | | | | | completed. | ||||
* | | Merge 3.5 (issue #28652) | Yury Selivanov | 2016-11-21 | 1 | -12/+10 |
|\ \ | |/ | |||||
| * | Issue #28652: Partially rollback previous changes | Yury Selivanov | 2016-11-21 | 1 | -12/+10 |
| | | | | | | | | Allow AF_UNIX in create_server & create_connection | ||||
* | | Merge 3.5 (issue #28704) | Yury Selivanov | 2016-11-15 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #28704: Fix create_unix_server to support Path-like objects | Yury Selivanov | 2016-11-15 | 1 | -0/+8 |
| | | |||||
* | | Merge 3.5 (issue #28703) | Yury Selivanov | 2016-11-15 | 1 | -2/+14 |
|\ \ | |/ | |||||
| * | Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. | Yury Selivanov | 2016-11-15 | 1 | -2/+14 |
| | | |||||
* | | Merge 3.5 (issue #28652) | Yury Selivanov | 2016-11-09 | 2 | -13/+47 |
|\ \ | |/ | |||||
| * | Issue #28652: Make loop methods reject socket kinds they do not support. | Yury Selivanov | 2016-11-09 | 2 | -13/+47 |
| | | |||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-11-09 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__ | Yury Selivanov | 2016-11-09 | 1 | -2/+6 |
| | | | | | | | | | | | | Some built-in coroutine-like objects might not have __name__ or __qualname__. A good example of such are 'asend', 'aclose' and 'athrow' coroutine methods of asynchronous generators. | ||||
* | | Merge 3.5 (issue #28613) | Yury Selivanov | 2016-11-08 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop() | Yury Selivanov | 2016-11-08 | 1 | -0/+1 |
| | | |||||
* | | Merge 3.5 (issue #28634) | Yury Selivanov | 2016-11-07 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #28634: Fix asyncio.isfuture() to support mocks | Yury Selivanov | 2016-11-07 | 1 | -2/+3 |
| | | |||||
* | | Merge 3.5 (issue #28613) | Yury Selivanov | 2016-11-04 | 3 | -2/+47 |
|\ \ | |/ | |||||
| * | Issue #28613: Fix get_event_loop() to return the current loop | Yury Selivanov | 2016-11-04 | 3 | -2/+47 |
| | | | | | | | | when called from coroutines or callbacks. | ||||
| * | asyncio: Sync with upstream | Yury Selivanov | 2016-11-03 | 1 | -0/+3 |
| | | |||||
* | | Merge 3.5 (issue #28600) | Yury Selivanov | 2016-11-03 | 2 | -22/+19 |
|\ \ | |/ | |||||
| * | Issue #28600: Optimize loop.call_soon(). | Yury Selivanov | 2016-11-03 | 2 | -22/+19 |
| | | | | | | | | | | Run expensive type checks only in debug mode. In addition, stop supporting passing handles to loop.run_in_executor. | ||||
* | | Issue #28544: Implement asyncio.Task in C. | Yury Selivanov | 2016-10-28 | 6 | -138/+183 |
| | | | | | | | | | | | | | | | | This implementation provides additional 10-20% speed boost for asyncio programs. The patch also fixes _asynciomodule.c to use Arguments Clinic, and makes '_schedule_callbacks' an overridable method (as it was in 3.5). | ||||
* | | asyncio: Increase asyncio.Future test coverage; test both implementations. | Yury Selivanov | 2016-10-24 | 1 | -2/+7 |
| | | | | | | | | | | Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's exposed as 'asyncio.isfuture'. | ||||
* | | Merge 3.5 (issue #26796) | Yury Selivanov | 2016-10-21 | 1 | -4/+1 |
|\ \ | |/ | |||||
| * | Issue #26796: Don't configure the number of workers for default threadpool ↵ | Yury Selivanov | 2016-10-21 | 1 | -4/+1 |
| | | | | | | | | | | | | executor. Initial patch by Hans Lawrenz. | ||||
* | | Merge 3.5 (issue #26923) | Yury Selivanov | 2016-10-21 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children ↵ | Yury Selivanov | 2016-10-21 | 1 | -2/+4 |
| | | | | | | | | | | | | are done. Patch by Johannes Ebke. | ||||
* | | Issue #28500: Fix asyncio to handle async gens GC from another thread. | Yury Selivanov | 2016-10-21 | 1 | -0/+3 |
| | | |||||
* | | Issue #28448: Fix C implemented asyncio.Future didn't work on Windows | INADA Naoki | 2016-10-21 | 2 | -6/+11 |
| | | |||||
* | | Issue #28452: Remove _asyncio._init_module function | INADA Naoki | 2016-10-18 | 1 | -15/+8 |
| | | |||||
* | | Issue #28428: Rename _futures module to _asyncio. | INADA Naoki | 2016-10-15 | 1 | -3/+3 |
| | | | | | | | | It will have more speedup functions or classes other than asyncio.Future. | ||||
* | | Merge 3.5 (issue #27972) | Yury Selivanov | 2016-10-09 | 1 | -7/+14 |
|\ \ | |/ | |||||
| * | Issue #27972: Prohibit Tasks to await on themselves. | Yury Selivanov | 2016-10-09 | 1 | -7/+14 |
| | | |||||
* | | Merge 3.5 (issue #28399) | Yury Selivanov | 2016-10-09 | 1 | -0/+11 |
|\ \ | |/ | |||||
| * | Issue #28399: Remove UNIX socket from FS before binding. | Yury Selivanov | 2016-10-09 | 1 | -0/+11 |
| | | | | | | | | Patch by Коренберг Марк. |