Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058) | Christian Heimes | 2017-09-15 | 1 | -1/+1 |
| | | | | | | Replaces PROTOCOL_TLSv* and PROTOCOL_SSLv23 with PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-31350: Optimize get_event_loop and _get_running_loop (#3347) | jimmylai | 2017-09-06 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | | * call remove_done_callback in finally section * Optimize get_event_loop and _get_running_loop * rename _loop_pid as loop_pid and add blurb news * rename _loop_pid as loop_pid and add blurb news * add back _RunningLoop * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst | ||||
* | bpo-31250, test_asyncio: fix dangling threads (#3252) | Victor Stinner | 2017-09-01 | 1 | -1/+8 |
| | | | | | | | * Explicitly call shutdown(wait=True) on executors to wait until all threads complete to prevent side effects between tests. * Fix test_loop_self_reading_exception(): don't mock loop.close(). Previously, the original close() method was called rather than the mock, because how set_event_loop() registered loop.close(). | ||||
* | bpo-30280: Cleanup threads in ayncio tests (#2501) | Victor Stinner | 2017-06-30 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | * 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. | ||||
* | Fix a typo in a comment in coroutines.py (GH-2267) | Johan de Jager | 2017-06-24 | 1 | -1/+1 |
| | | | defiend -> defined | ||||
* | Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close ↵ | Yury Selivanov | 2017-06-11 | 1 | -24/+1 |
| | | | | | 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/+2 |
| | |||||
* | bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵ | Nikolay Kim | 2017-06-10 | 1 | -1/+24 |
| | | | | | | | | certain servers (#409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error | ||||
* | Fix TypeError is asyncio/proactor_events (#993) | Jim Fasarakis-Hilliard | 2017-06-10 | 1 | -2/+3 |
| | |||||
* | Break circular references when closing SSLTransport objects (#981) | Michaël Sghaïer | 2017-06-09 | 1 | -4/+6 |
| | |||||
* | Closing transport during handshake process leaks socket (#480) | Nikolay Kim | 2017-06-09 | 1 | -2/+5 |
| | |||||
* | Fix waiter cancellation in asyncio.Lock (#1031) | Mathieu Sornay | 2017-06-09 | 1 | -5/+12 |
| | | | | | | Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585 | ||||
* | call remove_done_callback in finally section (#1688) | jimmylai | 2017-05-23 | 1 | -1/+2 |
| | |||||
* | 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). |