Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-31034: Reliable signal handler for test_asyncio (#2867) | Victor Stinner | 2017-07-25 | 2 | -31/+45 | |
| | | | | | | | | | * bpo-31034: Reliable signal handler for test_asyncio Don't rely on the current SIGHUP signal handler, make sure that it's set to the "default" signal handler: SIG_DFL. * Add comments | |||||
* | bpo-30828: Fix out of bounds write in ↵ | Yury Selivanov | 2017-07-05 | 1 | -1/+23 | |
| | | | | `asyncio.CFuture.remove_done_callback() (#2569) | |||||
* | bpo-30280: Cleanup threads in ayncio tests (#2501) | Victor Stinner | 2017-06-30 | 1 | -5/+3 | |
| | | | | | | | | | | | | | | | | * bpo-30280: asyncio now cleans up threads asyncio base TestCase now uses threading_setup() and threading_cleanup() of test.support to cleanup threads. * asyncio: Fix TestBaseSelectorEventLoop cleanup bpo-30280: TestBaseSelectorEventLoop of test.test_asyncio.test_selector_events now correctly closes the event loop: cleanup its executor to not leak threads. Don't override the close() method of the event loop, only override the_close_self_pipe() method. | |||||
* | Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close ↵ | Yury Selivanov | 2017-06-11 | 1 | -34/+0 | |
| | | | | | with certain servers (#409)" (#2111) This reverts commit a608d2d5a7f1aabe9bcbfc220135c5e126189390. | |||||
* | bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050) | Yury Selivanov | 2017-06-11 | 2 | -0/+27 | |
| | ||||||
* | bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵ | Nikolay Kim | 2017-06-10 | 1 | -0/+34 | |
| | | | | | | | | certain servers (#409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error | |||||
* | Closing transport during handshake process leaks socket (#480) | Nikolay Kim | 2017-06-09 | 1 | -0/+15 | |
| | ||||||
* | Fix waiter cancellation in asyncio.Lock (#1031) | Mathieu Sornay | 2017-06-09 | 1 | -0/+22 | |
| | | | | | | Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585 | |||||
* | bpo-30110: fix resource leak in test_asyncio.test_events (#1413) | Xiang Zhang | 2017-05-15 | 1 | -1/+3 | |
| | ||||||
* | bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) | INADA Naoki | 2017-05-11 | 1 | -0/+18 | |
| | | | | | | | | | | | | 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-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 | 1 | -1/+0 | |
| | | | Make also minor PEP8 coding style fixes on modified imports. | |||||
* | bpo-29742: asyncio get_extra_info() throws exception (#525) | Nikolay Kim | 2017-03-12 | 1 | -0/+12 | |
| | ||||||
* | bpo-28963: Fix out of bound iteration in ↵ | Yury Selivanov | 2017-03-03 | 1 | -0/+29 | |
| | | | | asyncio.Future.remove_done_callback/C (#408) | |||||
* | asyncio: Fix trailing whitespace/code style | Yury Selivanov | 2017-03-03 | 1 | -4/+6 | |
| | ||||||
* | bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) | Seth M. Larson | 2017-03-03 | 1 | -0/+22 | |
| | ||||||
* | bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406) | Yury Selivanov | 2017-03-03 | 1 | -0/+17 | |
| | ||||||
* | bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) | Yury Selivanov | 2017-03-03 | 1 | -0/+22 | |
| | ||||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 2 | -2/+0 | |
| | ||||||
* | Merge 3.5 (issue #28990) | Yury Selivanov | 2016-12-16 | 1 | -0/+10 | |
|\ | ||||||
| * | Issue #28990: Fix SSL hanging if connection is closed before handshake ↵ | Yury Selivanov | 2016-12-16 | 1 | -0/+10 | |
| | | | | | | | | completed. | |||||
* | | Issue #28843: Fix asyncio C Task to handle exceptions __traceback__. | Yury Selivanov | 2016-12-01 | 1 | -0/+15 | |
| | | ||||||
* | | Merge 3.5 (issue #28652) | Yury Selivanov | 2016-11-21 | 1 | -6/+4 | |
|\ \ | |/ | ||||||
| * | Issue #28652: Partially rollback previous changes | Yury Selivanov | 2016-11-21 | 1 | -6/+4 | |
| | | | | | | | | Allow AF_UNIX in create_server & create_connection | |||||
* | | Merge 3.5 (issue #28704) | Yury Selivanov | 2016-11-15 | 1 | -0/+10 | |
|\ \ | |/ | ||||||
| * | Issue #28704: Fix create_unix_server to support Path-like objects | Yury Selivanov | 2016-11-15 | 1 | -0/+10 | |
| | | ||||||
* | | Merge 3.5 (issue #28703) | Yury Selivanov | 2016-11-15 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. | Yury Selivanov | 2016-11-15 | 1 | -0/+2 | |
| | | ||||||
* | | correctly emulate error semantics of gen.throw in FutureIter_throw | Benjamin Peterson | 2016-11-14 | 1 | -0/+9 | |
| | | ||||||
* | | Merge 3.5 (issue #28652) | Yury Selivanov | 2016-11-09 | 3 | -11/+90 | |
|\ \ | |/ | ||||||
| * | Issue #28652: Make loop methods reject socket kinds they do not support. | Yury Selivanov | 2016-11-09 | 3 | -11/+90 | |
| | | ||||||
* | | 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/+4 | |
|\ \ | |/ | ||||||
| * | Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop() | Yury Selivanov | 2016-11-08 | 1 | -0/+4 | |
| | | ||||||
* | | Merge 3.5 (issue #28634) | Yury Selivanov | 2016-11-07 | 1 | -0/+23 | |
|\ \ | |/ | ||||||
| * | Issue #28634: Fix asyncio.isfuture() to support mocks | Yury Selivanov | 2016-11-07 | 1 | -0/+23 | |
| | | ||||||
* | | Merge 3.5 (issue #28613) | Yury Selivanov | 2016-11-04 | 14 | -0/+76 | |
|\ \ | |/ | ||||||
| * | Issue #28613: Fix get_event_loop() to return the current loop | Yury Selivanov | 2016-11-04 | 14 | -0/+76 | |
| | | | | | | | | when called from coroutines or callbacks. | |||||
* | | Merge 3.5 (issue #28600) | Yury Selivanov | 2016-11-03 | 2 | -35/+8 | |
|\ \ | |/ | ||||||
| * | Issue #28600: Optimize loop.call_soon(). | Yury Selivanov | 2016-11-03 | 2 | -35/+8 | |
| | | | | | | | | | | 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 | 1 | -134/+305 | |
| | | | | | | | | | | | | | | | | 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 | -81/+75 | |
| | | | | | | | | | | Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's exposed as 'asyncio.isfuture'. | |||||
* | | Merge 3.5 (issue #26923) | Yury Selivanov | 2016-10-21 | 1 | -0/+30 | |
|\ \ | |/ | ||||||
| * | Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children ↵ | Yury Selivanov | 2016-10-21 | 1 | -0/+30 | |
| | | | | | | | | | | | | are done. Patch by Johannes Ebke. | |||||
* | | Issue #28492: Fix how StopIteration is raised in _asyncio.Future | Yury Selivanov | 2016-10-20 | 1 | -0/+13 | |
|/ | ||||||
* | Issue #27972: Prohibit Tasks to await on themselves. | Yury Selivanov | 2016-10-09 | 1 | -0/+11 | |
| | ||||||
* | Issue #28399: Remove UNIX socket from FS before binding. | Yury Selivanov | 2016-10-09 | 1 | -5/+7 | |
| | | | | Patch by Коренберг Марк. | |||||
* | asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection | Yury Selivanov | 2016-10-07 | 1 | -1/+10 | |
| | ||||||
* | Issue #28372: Fix asyncio to support formatting of non-python coroutines | Yury Selivanov | 2016-10-05 | 1 | -0/+34 | |
| | ||||||
* | Issue #28371: Deprecate passing asyncio.Handles to run_in_executor. | Yury Selivanov | 2016-10-05 | 1 | -3/+6 | |
| |