Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30280: Cleanup threads in ayncio tests (#2501) (#2512) | 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. (cherry picked from commit b9030674624c181d6e9047cdb14ad65bb6c84c66) | ||||
* | [3.5] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2371) | Mariatta | 2017-06-24 | 1 | -1/+1 |
| | | | | defiend -> defined (cherry picked from commit cab469245d7635447c5e04fa6ed860b067dfc26b) | ||||
* | Revert "[3.5] bpo-29406: asyncio SSL contexts leak sockets after calling ↵ | Yury Selivanov | 2017-06-11 | 1 | -23/+1 |
| | | | | | 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/+2 |
| | | | | (#2110) | ||||
* | [3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵ | Yury Selivanov | 2017-06-10 | 1 | -1/+23 |
| | | | | | | | | | | | | | | | 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) | ||||
* | [3.5] Fix TypeError is asyncio/proactor_events (GH-993) (#2060) | Yury Selivanov | 2017-06-10 | 1 | -2/+3 |
| | | | (cherry picked from commit 34792d25ab7329241ea24595286d65d54c266274) | ||||
* | Break circular references when closing SSLTransport objects (#981) (#2048) | Yury Selivanov | 2017-06-09 | 1 | -4/+6 |
| | |||||
* | Closing transport during handshake process leaks socket (#480) (#2045) | Yury Selivanov | 2017-06-09 | 1 | -2/+5 |
| | |||||
* | Fix waiter cancellation in asyncio.Lock (#1031) (#2038) | Yury Selivanov | 2017-06-09 | 1 | -5/+12 |
| | | | | | | Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585 | ||||
* | [3.5] call remove_done_callback in finally section (GH-1688) (#1758) | Łukasz Langa | 2017-05-23 | 1 | -1/+2 |
| | | | (cherry picked from commit 21b3e04c13212b29e8c35ffc36eed8603fde08f4) | ||||
* | bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1547) | INADA Naoki | 2017-05-12 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | * 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-30098: Clarify that run_coroutine_threadsafe expects asyncio.Future ↵ | Mariatta | 2017-04-22 | 1 | -1/+2 |
| | | | | | (GH-1170) (#1246) (cherry picked from commit ae5b3260dd459845aad8a30491b76d471577785d) | ||||
* | bpo-29742: asyncio get_extra_info() throws exception (#525) (#646) | Yury Selivanov | 2017-03-12 | 1 | -1/+3 |
| | |||||
* | bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) | Seth M. Larson | 2017-03-03 | 1 | -2/+15 |
| | |||||
* | asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop | Yury Selivanov | 2017-03-03 | 1 | -2/+3 |
| | |||||
* | bpo-29703: asyncio: Fix creating new event loops in child processes. (#411) | Yury Selivanov | 2017-03-03 | 2 | -2/+11 |
| | |||||
* | Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
| | |||||
* | Issue #28990: Fix SSL hanging if connection is closed before handshake ↵ | Yury Selivanov | 2016-12-16 | 1 | -0/+1 |
| | | | | completed. | ||||
* | Issue #28652: Partially rollback previous changes | Yury Selivanov | 2016-11-21 | 1 | -12/+10 |
| | | | | 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/+8 |
| | |||||
* | Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. | Yury Selivanov | 2016-11-15 | 1 | -2/+14 |
| | |||||
* | Issue #28652: Make loop methods reject socket kinds they do not support. | Yury Selivanov | 2016-11-09 | 2 | -13/+47 |
| | |||||
* | 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/+1 |
| | |||||
* | Issue #28634: Fix asyncio.isfuture() to support mocks | Yury Selivanov | 2016-11-07 | 1 | -2/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 #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. | ||||
* | 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 #27972: Prohibit Tasks to await on themselves. | Yury Selivanov | 2016-10-09 | 1 | -7/+14 |
| | |||||
* | Issue #28399: Remove UNIX socket from FS before binding. | Yury Selivanov | 2016-10-09 | 1 | -0/+11 |
| | | | | Patch by Коренберг Марк. | ||||
* | asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection | Yury Selivanov | 2016-10-07 | 1 | -2/+9 |
| | |||||
* | asyncio: Add "call_connection_made" arg to SSLProtocol.__init__ | Yury Selivanov | 2016-10-05 | 1 | -2/+5 |
| | | | | | | | | | Issue #23749: With this change it's possible to implement starttls as a separate package on PyPI, or even by copying/pasting a small snipped of code in your project. It's expected that we'll figure out the API design for starttls during 3.6, so that we can add it in 3.7. | ||||
* | Issue #28372: Fix asyncio to support formatting of non-python coroutines | Yury Selivanov | 2016-10-05 | 1 | -0/+19 |
| | |||||
* | Issue #28371: Deprecate passing asyncio.Handles to run_in_executor. | Yury Selivanov | 2016-10-05 | 1 | -0/+3 |
| | |||||
* | Issue #28370: Speedup asyncio.StreamReader.readexactly | Yury Selivanov | 2016-10-05 | 1 | -19/+17 |
| | | | | Patch by Коренберг Марк. | ||||
* | Issue #28369: Raise an error when transport's FD is used with add_reader | Yury Selivanov | 2016-10-05 | 3 | -65/+130 |
| | |||||
* | Issue #28368: Refuse monitoring processes if the child watcher has no loop ↵ | Yury Selivanov | 2016-10-05 | 1 | -5/+18 |
| | | | | | | attached. Patch by Vincent Michel. | ||||
* | Misc asyncio improvements from upstream | Guido van Rossum | 2016-09-30 | 5 | -22/+16 |
| | |||||
* | Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect. | Yury Selivanov | 2016-09-15 | 1 | -17/+10 |
| | |||||
* | Issue #26909: Fix slow pipes IO in asyncio. | Yury Selivanov | 2016-09-15 | 1 | -15/+12 |
| | | | | Patch by INADA Naoki. | ||||
* | Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__. | Yury Selivanov | 2016-09-15 | 2 | -14/+15 |
| | | | | Patch by iceboy. | ||||
* | Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio) | Yury Selivanov | 2016-09-15 | 1 | -12/+13 |
| | | | | Patch by Seth Michael Larson. | ||||
* | Issue #27906: Fix socket accept exhaustion during high TCP traffic. | Yury Selivanov | 2016-09-15 | 3 | -35/+42 |
| | | | | Patch by Kevin Conway. | ||||
* | Another asyncio sync. | Yury Selivanov | 2016-09-15 | 2 | -5/+11 |
| | |||||
* | asyncio: Sync with the upstream | Yury Selivanov | 2016-09-15 | 2 | -0/+64 |
| | |||||
* | Issue #27456: asyncio: Set TCP_NODELAY by default. | Yury Selivanov | 2016-09-12 | 1 | -0/+16 |
| | |||||
* | asyncio: Add set_protocol / get_protocol methods to Transports | Yury Selivanov | 2016-09-12 | 6 | -0/+44 |
| | |||||
* | Merge asyncio upstream. | Guido van Rossum | 2016-09-09 | 4 | -13/+25 |
| |