Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30280: Cleanup threads in ayncio tests (#2501) (#2512) | 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. (cherry picked from commit b9030674624c181d6e9047cdb14ad65bb6c84c66) | ||||
* | Revert "[3.5] bpo-29406: asyncio SSL contexts leak sockets after calling ↵ | Yury Selivanov | 2017-06-11 | 1 | -34/+0 |
| | | | | | close with certain servers (GH-409) (#2063)" (#2113) This reverts commit 1395c58ef7b98f087d1d5d50962fe7a8c032f34d. | ||||
* | bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. ↵ | Yury Selivanov | 2017-06-11 | 2 | -0/+27 |
| | | | | (#2110) | ||||
* | [3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵ | Yury Selivanov | 2017-06-10 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | certain servers (GH-409) (#2063) * bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (#409) (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390) * [3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error. (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390) | ||||
* | Closing transport during handshake process leaks socket (#480) (#2045) | Yury Selivanov | 2017-06-09 | 1 | -0/+15 |
| | |||||
* | Fix waiter cancellation in asyncio.Lock (#1031) (#2038) | Yury Selivanov | 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) (#1585) | Xiang Zhang | 2017-05-15 | 1 | -1/+3 |
| | |||||
* | bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1547) | INADA Naoki | 2017-05-12 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | * bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) 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 (cherry picked from commit 991adca012f5e106c2d4040ce619c696ba6f9c46) * fix test | ||||
* | bpo-29742: asyncio get_extra_info() throws exception (#525) (#646) | Yury Selivanov | 2017-03-12 | 1 | -0/+12 |
| | |||||
* | bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) | Seth M. Larson | 2017-03-03 | 1 | -0/+24 |
| | |||||
* | bpo-29703: asyncio: Fix creating new event loops in child processes. (#411) | Yury Selivanov | 2017-03-03 | 1 | -0/+22 |
| | |||||
* | Issue #28990: Fix SSL hanging if connection is closed before handshake ↵ | Yury Selivanov | 2016-12-16 | 1 | -0/+10 |
| | | | | completed. | ||||
* | Issue #28652: Partially rollback previous changes | Yury Selivanov | 2016-11-21 | 1 | -6/+4 |
| | | | | Allow AF_UNIX in create_server & create_connection | ||||
* | Issue #28704: Fix create_unix_server to support Path-like objects | Yury Selivanov | 2016-11-15 | 1 | -0/+10 |
| | |||||
* | Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. | Yury Selivanov | 2016-11-15 | 1 | -0/+2 |
| | |||||
* | Issue #28652: Make loop methods reject socket kinds they do not support. | Yury Selivanov | 2016-11-09 | 3 | -11/+90 |
| | |||||
* | 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. | ||||
* | Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop() | Yury Selivanov | 2016-11-08 | 1 | -0/+4 |
| | |||||
* | Issue #28634: Fix asyncio.isfuture() to support mocks | Yury Selivanov | 2016-11-07 | 1 | -0/+23 |
| | |||||
* | 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. | ||||
* | 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 #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 #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 |
| | |||||
* | Issue #28369: Raise an error when transport's FD is used with add_reader | Yury Selivanov | 2016-10-05 | 2 | -44/+44 |
| | |||||
* | Issue #28368: Refuse monitoring processes if the child watcher has no loop ↵ | Yury Selivanov | 2016-10-05 | 2 | -1/+20 |
| | | | | | | attached. Patch by Vincent Michel. | ||||
* | Issue #28283: Remove flaky test test_sock_connect_sock_write_race again | Berker Peksag | 2016-10-01 | 1 | -86/+0 |
| | | | | It was added back in 53a578f51f21. | ||||
* | Misc asyncio improvements from upstream | Guido van Rossum | 2016-09-30 | 3 | -20/+148 |
| | |||||
* | Issue #28283: Remove flaky test test_sock_connect_sock_write_race | Berker Peksag | 2016-09-27 | 1 | -86/+0 |
| | |||||
* | test_asynico: fix test_sock_connect_sock_write_race() | Victor Stinner | 2016-09-21 | 1 | -1/+1 |
| | | | | Issue #28176: Increase timeout from 10 seconds to 60 seconds. | ||||
* | Issue #28176: Increase timeout for test_sock_connect_sock_write_race | Berker Peksag | 2016-09-17 | 1 | -1/+1 |
| | |||||
* | Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect. | Yury Selivanov | 2016-09-15 | 1 | -23/+101 |
| | |||||
* | Issue #26909: Fix slow pipes IO in asyncio. | Yury Selivanov | 2016-09-15 | 1 | -27/+22 |
| | | | | Patch by INADA Naoki. | ||||
* | Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__. | Yury Selivanov | 2016-09-15 | 1 | -1/+8 |
| | | | | Patch by iceboy. | ||||
* | Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio) | Yury Selivanov | 2016-09-15 | 1 | -0/+11 |
| | | | | Patch by Seth Michael Larson. | ||||
* | Issue #27906: Fix socket accept exhaustion during high TCP traffic. | Yury Selivanov | 2016-09-15 | 2 | -1/+15 |
| | | | | Patch by Kevin Conway. | ||||
* | asyncio: Add set_protocol / get_protocol methods to Transports | Yury Selivanov | 2016-09-12 | 1 | -0/+1 |
| | |||||
* | Use raw string for regexp | Guido van Rossum | 2016-09-10 | 1 | -1/+1 |
| | |||||
* | Merge asyncio upstream. | Guido van Rossum | 2016-09-09 | 2 | -1/+69 |
| | |||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 1 | -2/+2 |
| | |||||
* | Don't select for read on character devices in _UnixWritePipeTransport. | Guido van Rossum | 2016-08-31 | 1 | -0/+75 |
| | | | | Upstream https://github.com/python/asyncio/pull/374 by Ron Frederick. | ||||
* | Issue #27907: variable rename. (Ville Skyttä) | Guido van Rossum | 2016-08-31 | 1 | -2/+2 |
| | |||||
* | Issue #27392: Add loop.connect_accepted_socket(). | Yury Selivanov | 2016-07-12 | 1 | -0/+79 |
| | | | | Patch by Jim Fulton. | ||||
* | asyncio: Use socket specs for getaddrinfo() in sock_connect() | Yury Selivanov | 2016-06-28 | 1 | -0/+11 |
| | | | | Patch by Martin Richard. GH PR #365. | ||||
* | asyncio: Fix NameError in sslproto _fatal_error() | Yury Selivanov | 2016-06-28 | 1 | -0/+16 |
| | | | | Patch by Richard Walker. | ||||
* | Issue #27136: Change test to use ::1 for better OS X Tiger compatibility | Martin Panter | 2016-06-13 | 1 | -4/+4 |
| | |||||
* | Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait. | Yury Selivanov | 2016-06-11 | 1 | -0/+25 |
| | | | | Patch by David Coles. |