Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds ↵ | Miss Islington (bot) | 2022-07-17 | 1 | -10/+0 |
| | | | | | | | (GH-94926) (cherry picked from commit 07aeb7405ea42729b95ecae225f1d96a4aea5121) Co-authored-by: Thomas Grainger <tagrain@gmail.com> | ||||
* | bpo-44011: New asyncio ssl implementation (#31275) | Kumar Aditya | 2022-02-15 | 1 | -7/+14 |
| | | | | | | | | | | | * bpo-44011: New asyncio ssl implementation Co-Authored-By: Andrew Svetlov <andrew.svetlov@gmail.com> * fix warning * fix typo Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | ||||
* | bpo-26552: Fixed case where failing `asyncio.ensure_future` did not close ↵ | Kumar Aditya | 2022-01-28 | 1 | -1/+12 |
| | | | | the coroutine (#30288) | ||||
* | bpo-46358: modernize `test_asyncio` (GH-30562) | Nikita Sobolev | 2022-01-13 | 1 | -13/+4 |
| | |||||
* | bpo-23819: Fix asyncio tests on python optimized mode (GH-30195) | Kumar Aditya | 2021-12-26 | 1 | -2/+2 |
| | |||||
* | bpo-23819: Get rid of assert statements in test_asyncio (GH-30212) | Serhiy Storchaka | 2021-12-20 | 1 | -11/+19 |
| | | | | | | To keep checks even if run tests with optimized Python. Either use special assertion methods like assertEqual() or raise an AssertionError explicitly. | ||||
* | bpo-23819: asyncio: Replace AssertionError with TypeError where it makes ↵ | Kumar Aditya | 2021-12-06 | 1 | -0/+4 |
| | | | | sense (GH-29894) | ||||
* | bpo-45129 Remove deprecated reuse_address (GH-28207) | Hugo van Kemenade | 2021-09-08 | 1 | -26/+0 |
| | | | | | | | | Due to significant security concerns, the reuse_address parameter of asyncio.loop.create_datagram_endpoint, deprecated in Python 3.9, is now removed. This is because of the behavior of the socket option SO_REUSEADDR in UDP. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-43234: Prohibit non-ThreadPoolExecutor in loop.set_default_executor ↵ | Illia Volochii | 2021-07-01 | 1 | -4/+4 |
| | | | | (GH-24540) | ||||
* | bpo-43216: Remove @asyncio.coroutine (GH-26369) | Illia Volochii | 2021-07-01 | 1 | -4/+2 |
| | | | | | | | | | Remove the @asyncio.coroutine decorator enabling legacy generator-based coroutines to be compatible with async/await code; remove asyncio.coroutines.CoroWrapper used for wrapping legacy coroutine objects in the debug mode. The decorator has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10. | ||||
* | bpo-44011: Revert "New asyncio ssl implementation (GH-17975)" (GH-25848) | Pablo Galindo | 2021-05-03 | 1 | -14/+7 |
| | | | | This reverts commit 5fb06edbbb769561e245d0fe13002bab50e2ae60 and all subsequent dependent commits. | ||||
* | bpo-44011: New asyncio ssl implementation (#17975) | Andrew Svetlov | 2021-05-02 | 1 | -7/+14 |
| | |||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) | Inada Naoki | 2021-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | * test_asyncio * test_bz2 * test_math * test_cmath * test_cmd_line * test_cmd_line_script * test_compile * test_contextlib * test_profile * ctypes/test/test_find * test_multiprocessing * test_configparser * test_csv * test_dbm_dumb * test_decimal * test_difflib * os.fdopen() calls io.text_encoding() to emit EncodingWarning for right place. | ||||
* | bpo-31904: Skip some asyncio tests on VxWorks (#23815) | pxinwr | 2020-12-17 | 1 | -0/+2 |
| | |||||
* | bpo-42392: Remove loop parameter from asyncio.streams (GH-23517) | Yurii Karabas | 2020-11-26 | 1 | -3/+1 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-20824) | Hai Shi | 2020-06-25 | 1 | -4/+5 |
| | |||||
* | bpo-40443: Remove unused imports in tests (GH-19804) | Victor Stinner | 2020-04-30 | 1 | -1/+0 |
| | |||||
* | bpo-40275: Avoid importing socket in test.support (GH-19603) | Serhiy Storchaka | 2020-04-25 | 1 | -7/+8 |
| | | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess. | ||||
* | Fix warnings in test_asyncio.test_base_events (#17577) | Kyle Stanley | 2019-12-12 | 1 | -3/+4 |
| | | | Co-authored-by: tirkarthi | ||||
* | bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (#17311) | Kyle Stanley | 2019-12-09 | 1 | -17/+24 |
| | |||||
* | bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix ↵ | xdegaye | 2019-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | (GH-17294) on platforms lacking a functional bind() for named unix domain sockets https://bugs.python.org/issue38841 Automerge-Triggered-By: @asvetlov | ||||
* | bpo-34037: test_asyncio uses shutdown_default_executor() (GH-16284) | Victor Stinner | 2019-09-19 | 1 | -0/+6 |
| | |||||
* | bpo-37199: Replace the early returns added in c2cda63. (GH-14535) | Zackery Spytz | 2019-09-13 | 1 | -37/+34 |
| | |||||
* | bpo-38107: Replace direct future and task contructor calls with factories in ↵ | Andrew Svetlov | 2019-09-11 | 1 | -16/+16 |
| | | | | asyncio tests (GH-15928) | ||||
* | bpo-37199: Fix test failures when IPv6 is unavailable or disabled (#14480) | Zackery Spytz | 2019-06-30 | 1 | -1/+8 |
| | |||||
* | bpo-35545: Skip `test_asyncio.test_create_connection_ipv6_scope` on AIX ↵ | Michael Felt | 2019-06-12 | 1 | -0/+2 |
| | | | | | | | | | | | (GH-14011) because "getaddrinfo()" behaves different on AIX https://bugs.python.org/issue35545 | ||||
* | bpo-36889: Merge asyncio streams (GH-13251) | Andrew Svetlov | 2019-05-27 | 1 | -2/+3 |
| | | | https://bugs.python.org/issue36889 | ||||
* | bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528) | Yury Selivanov | 2019-05-27 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | This will address the common mistake many asyncio users make: an "except Exception" clause breaking Tasks cancellation. In addition to this change, we stop inheriting asyncio.TimeoutError and asyncio.InvalidStateError from their concurrent.futures.* counterparts. There's no point for these exceptions to share the inheritance chain. In 3.9 we'll focus on implementing supervisors and cancel scopes, which should allow better handling of all exceptions, including SystemExit and KeyboardInterrupt | ||||
* | bpo-35545: Fix asyncio discarding IPv6 scopes (GH-11271) | Erwan Le Pape | 2019-05-17 | 1 | -0/+22 |
| | | | | | | | | This PR proposes a solution to [bpo-35545](https://bugs.python.org/issue35545) by adding an optional `flowinfo` and `scopeid` to `asyncio.base_events._ipaddr_info` to carry the full address information into `_ipaddr_info` and avoid discarding IPv6 specific information. Changelog entry & regression tests to come. https://bugs.python.org/issue35545 | ||||
* | bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) | Andrew Svetlov | 2019-05-16 | 1 | -34/+20 |
| | | | | | | The second attempt. Now deprecate `@coroutine` only, keep `yield from fut` as is. https://bugs.python.org/issue36921 | ||||
* | bpo-31922: Do not connect UDP sockets when broadcast is allowed (GH-423) | Vincent Michel | 2019-05-07 | 1 | -0/+17 |
| | | | | | | | | | | | | *Moved from python/asyncio#493.* This PR fixes issue python/asyncio#480, as explained in [this comment](https://github.com/python/asyncio/issues/480#issuecomment-278703828). The `_SelectorDatagramTransport.sendto` method has to be modified ~~so `_sock.sendto` is used in all cases (because it is tricky to reliably tell if the socket is connected or not). Could that be an issue for connected sockets?~~ *EDIT* ... so `_sock.send` is used only if `_sock` is connected. It also protects `socket.getsockname` against `OSError` in `_SelectorTransport`. This might happen on Windows if the socket is not connected (e.g. for UDP broadcasting). https://bugs.python.org/issue31922 | ||||
* | bpo-34139: Remove unix datagram socket from FS before binding (GH-8323) | Quentin Dawans | 2019-04-09 | 1 | -0/+14 |
| | | | https://bugs.python.org/issue34139 | ||||
* | bpo-35380: Enable TCP_NODELAY for proactor event loop (#10867) | Andrew Svetlov | 2018-12-03 | 1 | -3/+27 |
| | |||||
* | bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) | twisteroid ambassador | 2018-10-09 | 1 | -0/+68 |
| | |||||
* | bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661) | Yury Selivanov | 2018-10-02 | 1 | -2/+2 |
| | |||||
* | bpo-34849: Don't log wating for selector.select in asyncio loop iteration ↵ | Andrew Svetlov | 2018-09-30 | 1 | -25/+0 |
| | | | | | | | | | | (GH-9641) The waiting is pretty normal for any asyncio program, logging its time just adds a noise to logs without any useful information provided. https://bugs.python.org/issue34849 | ||||
* | bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538) | Victor Stinner | 2018-09-25 | 1 | -1/+1 |
| | |||||
* | bpo-34622: Extract asyncio exceptions into a separate module (GH-9141) | Andrew Svetlov | 2018-09-11 | 1 | -2/+2 |
| | |||||
* | bpo-34270: Make it possible to name asyncio tasks (GH-8547) | Alex Grönholm | 2018-08-08 | 1 | -0/+28 |
| | | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com> | ||||
* | bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor() ↵ | Elvis Pranskevichus | 2018-07-30 | 1 | -1/+13 |
| | | | | | | | (GH-8533) Various asyncio internals expect that the default executor is a `ThreadPoolExecutor`, so deprecate passing anything else to `loop.set_default_executor()`. | ||||
* | bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993) | Yury Selivanov | 2018-06-29 | 1 | -2/+22 |
| | |||||
* | bpo-33562: Check the global asyncio event loop policy isn't set after any ↵ | Brett Cannon | 2018-06-02 | 1 | -0/+4 |
| | | | | tests (GH-7328) | ||||
* | bpo-32410: Avoid blocking on file IO in sendfile fallback code (GH-7172) | Yury Selivanov | 2018-05-28 | 1 | -0/+3 |
| | |||||
* | Use IPv4 only to avoid IP address collision (#7030) | Andrew Svetlov | 2018-05-21 | 1 | -6/+4 |
| | |||||
* | Fix asyncio flaky tests (#7023) | Andrew Svetlov | 2018-05-21 | 1 | -2/+3 |
| | |||||
* | bpo-33522: Enable CI builds on Visual Studio Team Services (#6865) | Steve Dower | 2018-05-16 | 1 | -3/+15 |
| | |||||
* | bpo-32622: Implement loop.sendfile() (#5271) | Andrew Svetlov | 2018-01-27 | 1 | -1/+8 |
| | |||||
* | bpo-32636: Fix two bugs in test_asyncio (#5302) | Victor Stinner | 2018-01-24 | 1 | -0/+1 |
| | |||||
* | bpo-32436: Implement PEP 567 (#5027) | Yury Selivanov | 2018-01-23 | 1 | -5/+5 |
| | |||||
* | bpo-32410: Make SendfileNotAvailableError exception public (#5243) | Andrew Svetlov | 2018-01-19 | 1 | -2/+3 |
| |