[issue47167] Allow overriding future-task compliance check in asyncio
Andrew Svetlov added the comment: New changeset d4bb38f82bf18b00db3129031ce4969b6f0caab9 by Andrew Svetlov in branch 'main': bpo-47167: Allow overriding a future compliance check in asyncio.Task (GH-32197) https://github.com/python/cpython/commit/d4bb38f82bf18b00db3129031ce4969b6f0caab9 -- ___ Python tracker <https://bugs.python.org/issue47167> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47167] Allow overriding future-task compliance check in asyncio
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47167> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45099> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not
Andrew Svetlov added the comment: New changeset ab89ccff3ca6efc2a8e6f5f45c30d568fb3d212f by Andrew Svetlov in branch 'main': bpo-45099: Document asyncio internal API (GH-32166) https://github.com/python/cpython/commit/ab89ccff3ca6efc2a8e6f5f45c30d568fb3d212f -- ___ Python tracker <https://bugs.python.org/issue45099> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14911] generator.throw() documentation inaccurate
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue14911> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14911] generator.throw() documentation inaccurate
Andrew Svetlov added the comment: New changeset 8be7c2bc5ad5e295f0f855bb31db412eef2c7c92 by Dave Goncalves in branch 'main': bpo-14911: Corrected generator.throw() documentation (GH-32207) https://github.com/python/cpython/commit/8be7c2bc5ad5e295f0f855bb31db412eef2c7c92 -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue14911> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47167] Allow overriding future-task compliance check in asyncio
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30273 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32197 ___ Python tracker <https://bugs.python.org/issue47167> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47167] Allow overriding future-task compliance check in asyncio
New submission from Andrew Svetlov : Now asyncio.Task has a strict hardcoded check for futures processes on task's step. Sometimes third-party library [1] wants to replace it with custom logic. Currently it is impossible without implementing the full asyncio.Task replacement from scratch. `asyncio.Task` is a non-trivial highly optimized part of async, keeping a third-party version in sync with the reference implementation takes more time and effort than it should be. This issue proposes adding `Task._check_future(future)` method that could be overridden in subclasses. The default C implementation uses a fast path that has no performance penalty. 1. https://github.com/aio-libs/aioloop-proxy implements nested loop proxies that are very useful for writing tests. A proxy can work in parallel with ancestors but checks all own acquired resources cleanup on the proxy closing. -- components: asyncio messages: 416374 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Allow overriding future-task compliance check in asyncio versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue47167> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39622] Handle KeyboardInterrupt in asyncio
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: KeyboardInterrupt is ignored when await asyncio.sleep(0) -> Handle KeyboardInterrupt in asyncio versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue39622> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)
Andrew Svetlov added the comment: New changeset f08a191882f75bb79d42a49039892105b2212fb9 by Andrew Svetlov in branch 'main': bpo-39622: Interrupt the main asyncio task on Ctrl+C (GH-32105) https://github.com/python/cpython/commit/f08a191882f75bb79d42a49039892105b2212fb9 -- ___ Python tracker <https://bugs.python.org/issue39622> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30479] improve asyncio debugging
Andrew Svetlov added the comment: asyncio doesn't crash with scary messages like "AttributeError: 'NoneType' object has no attribute '_PENDING'" now. Checked with Python 3.9+ -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue30479> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14265] Fully qualified test name in failure output
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue14265> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14265] Fully qualified test name in failure output
Andrew Svetlov added the comment: New changeset 755be9b1505af591b9f2ee424a6525b6c2b65ce9 by Sam Ezeh in branch 'main': bpo-14265: Adds fully qualified test name to unittest output (GH-32138) https://github.com/python/cpython/commit/755be9b1505af591b9f2ee424a6525b6c2b65ce9 -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue14265> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not
Change by Andrew Svetlov : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45099> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30244 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32166 ___ Python tracker <https://bugs.python.org/issue45099> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27929] asyncio.AbstractEventLoop.sock_connect broken for AF_BLUETOOTH
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue27929> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27929] asyncio.AbstractEventLoop.sock_connect broken for AF_BLUETOOTH
Andrew Svetlov added the comment: New changeset 5c30388f3c586ba2f33e349e22e5949cb92de621 by Vincent Bernat in branch 'main': bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-32131) https://github.com/python/cpython/commit/5c30388f3c586ba2f33e349e22e5949cb92de621 -- ___ Python tracker <https://bugs.python.org/issue27929> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
Andrew Svetlov added the comment: New changeset bad6ffaa64eecd33f4320ca31b1201b25cd8fc91 by Andrew Svetlov in branch 'main': bpo-47062: Rename factory argument to loop_factory (GH-32113) https://github.com/python/cpython/commit/bad6ffaa64eecd33f4320ca31b1201b25cd8fc91 -- ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43352] Add a Barrier object in asyncio lib
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43352> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43352] Add a Barrier object in asyncio lib
Andrew Svetlov added the comment: New changeset d03acd7270d66ddb8e987f9743405147ecc15087 by Duprat in branch 'main': bpo-43352: Add a Barrier object in asyncio lib (GH-24903) https://github.com/python/cpython/commit/d03acd7270d66ddb8e987f9743405147ecc15087 -- ___ Python tracker <https://bugs.python.org/issue43352> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
Andrew Svetlov added the comment: I believe the error is fixed by #47118 -- ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47118] test_run_keeps_context in test_asyncio fails
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47118> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47118] test_run_keeps_context in test_asyncio fails
Andrew Svetlov added the comment: New changeset 20e6e5636a06fe5e1472062918d0a302d82a71c3 by Andrew Svetlov in branch 'main': bpo-47118: Fix asyncio.Runner tests error (32117) https://github.com/python/cpython/commit/20e6e5636a06fe5e1472062918d0a302d82a71c3 -- ___ Python tracker <https://bugs.python.org/issue47118> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47118] test_run_keeps_context in test_asyncio fails
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30192 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32117 ___ Python tracker <https://bugs.python.org/issue47118> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47118] test_run_keeps_context in test_asyncio fails
Andrew Svetlov added the comment: Thanks for the report! I read it ad 'decimal context tests modifies the environment'. I'll update asyncio runner test to ignore external contextvars. -- ___ Python tracker <https://bugs.python.org/issue47118> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44036] asyncio SSL server can be DOSed, event loop gets blocked: busy loops and uses 100% CPU
Andrew Svetlov added the comment: Could you check Python 3.11? It has a new asyncio SSL implementation rewritten from scratch. -- ___ Python tracker <https://bugs.python.org/issue44036> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
Change by Andrew Svetlov : -- pull_requests: +30189 pull_request: https://github.com/python/cpython/pull/32113 ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)
Change by Andrew Svetlov : -- pull_requests: +30184 pull_request: https://github.com/python/cpython/pull/32105 ___ Python tracker <https://bugs.python.org/issue39622> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47077] test_asyncio ignores exception in _ProactorBasePipeTransport.__del__: RuntimeError('Event loop is closed')
Andrew Svetlov added the comment: Perhaps the proactor should just silently skip protocol events if the event loop is closed. Selector-based event loops do it implicitly already. -- ___ Python tracker <https://bugs.python.org/issue47077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
Andrew Svetlov added the comment: New changeset 4119d2d7c9e25acd4f16994fb92d656f8b7816d7 by Andrew Svetlov in branch 'main': bpo-47062: Implement asyncio.Runner context manager (GH-31799) https://github.com/python/cpython/commit/4119d2d7c9e25acd4f16994fb92d656f8b7816d7 -- ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45098] asyncio.CancelledError should contain more information on cancellations
Andrew Svetlov added the comment: #46829 deprecates cancellation messages. #46771 implements timeout context manager based on previously added cancellation counter and task.uncancel() I think this issue should be closed. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue45098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46771] Implement asyncio.timeout() context manager
Change by Andrew Svetlov : -- title: Add some form of cancel scopes -> Implement asyncio.timeout() context manager ___ Python tracker <https://bugs.python.org/issue46771> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47014] ProactorEventLoop ignores Ctrl+C after closing unrelated loop
Change by Andrew Svetlov : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47014> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47104] Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.9 ___ Python tracker <https://bugs.python.org/issue47104> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47104] Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue47104> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47104] Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase
New submission from Andrew Svetlov : New changeset ff619c7dfe8dcb0e4c8dc655abc3acc7dc586d0d by Andrew Svetlov in branch 'main': bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086) https://github.com/python/cpython/commit/ff619c7dfe8dcb0e4c8dc655abc3acc7dc586d0d -- ___ Python tracker <https://bugs.python.org/issue47104> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44306] asyncio.from_thread
Andrew Svetlov added the comment: How is it better than passing the loop instance explicitly? What is the real use case? -- ___ Python tracker <https://bugs.python.org/issue44306> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40320] Add ability to specify instance of contextvars context to Task() & asyncio.create_task()
Andrew Svetlov added the comment: Duplicate of #46994 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Accept explicit contextvars.Context in asyncio create_task() API ___ Python tracker <https://bugs.python.org/issue40320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34014] loop.run_in_executor should propagate current contextvars
Andrew Svetlov added the comment: contextvars and run_in_executor() cannot be used together with process executor. asyncio.to_thread() runs with a copy of the current context. Available since Python 3.9 https://docs.python.org/3/library/asyncio-task.html?highlight=to_thread#asyncio.to_thread -- resolution: postponed -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue34014> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47104] Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32086 ___ Python tracker <https://bugs.python.org/issue47104> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47104] Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- components: Tests, asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase versions: Python 3.10, Python 3.11 ___ Python tracker <https://bugs.python.org/issue47104> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45997] asyncio.Semaphore waiters deque doesn't work
Andrew Svetlov added the comment: New changeset f47984b560f1dafe4d907cef4edadfb1746bf027 by Andrew Svetlov in branch '3.9': [3.9] bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) (GH-32049) https://github.com/python/cpython/commit/f47984b560f1dafe4d907cef4edadfb1746bf027 -- ___ Python tracker <https://bugs.python.org/issue45997> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45997] asyncio.Semaphore waiters deque doesn't work
Andrew Svetlov added the comment: New changeset 9d59381a5d20157930bae34e5f5a7bc5ef09fa89 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) (#32047) https://github.com/python/cpython/commit/9d59381a5d20157930bae34e5f5a7bc5ef09fa89 -- ___ Python tracker <https://bugs.python.org/issue45997> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x
Andrew Svetlov added the comment: Welcome! -- ___ Python tracker <https://bugs.python.org/issue47076> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45997] asyncio.Semaphore waiters deque doesn't work
Change by Andrew Svetlov : -- pull_requests: +30138 pull_request: https://github.com/python/cpython/pull/32049 ___ Python tracker <https://bugs.python.org/issue45997> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45997] asyncio.Semaphore waiters deque doesn't work
Andrew Svetlov added the comment: New changeset 32e77154ddfc514a3144d5912bffdd957246fd6c by Andrew Svetlov in branch 'main': bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) https://github.com/python/cpython/commit/32e77154ddfc514a3144d5912bffdd957246fd6c -- ___ Python tracker <https://bugs.python.org/issue45997> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x
Andrew Svetlov added the comment: Fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47076> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x
Andrew Svetlov added the comment: New changeset 673755bfbac46b3cd2c84d7e0d68c2c488e039c3 by Andrew Svetlov in branch 'main': bpo-47076: Make asyncio.Queue stable on slow test boxes (GH-32040) https://github.com/python/cpython/commit/673755bfbac46b3cd2c84d7e0d68c2c488e039c3 -- ___ Python tracker <https://bugs.python.org/issue47076> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25489] sys.exit() caught in async event loop exception handler
Andrew Svetlov added the comment: Guido, perhaps you had problems with the problem detection because the asyncio uses _asyncio C Extesions by default. It drops some calls from the python stack trace. -- ___ Python tracker <https://bugs.python.org/issue25489> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25489] sys.exit() caught in async event loop exception handler
Andrew Svetlov added the comment: I can describe what happens with test_sys_exit_in_exception_handler.py 1. The 'boom' task raises an exception. 2. The task is not awaited, Future.__del__ calls the exception handler with 'Task exception was never retrieved' message. 3. The custom handler raises SystemExit. 4. SystemExit bubbles up and swallowed by __del__, the __del__ method cannot re-raise. The question is: what is the behavior expected? a) Now an exception raised by a custom exception handler is swallowed in this particular case (but is propagated if `loop.call_exception_handler()` is called from a function other than __del__). b) Yuri suggested re-schedule an exception generated by `loop.call_exception_handler` by `loop.call_soon()`. asyncio.Handle catches it and... calls `call_exception_handler()` with 'Exception in callback ...' message. At the end, we have an endless recursion. c) asyncio loop can call `loop.stop()` if an exception is raised by `loop.call_exception_handler()` from __del__. I think this behavior is terrible: a subtle error can terminate asyncio program. d) Assume that a custom exception handler should not raise an exception. Catch all exceptions in `call_exception_handler`, call sys.unraisablehook(), and suppress the exception. I believe that d) is the best thing that we can do here. I can prepare a fix if we agree on the solution. -- ___ Python tracker <https://bugs.python.org/issue25489> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x
Andrew Svetlov added the comment: > The problem is more that a sleep is not a reliable synchronization primitive Yes, sure! I'm trying to avoid 'sleep for synchronization' when I'm writing new tests or fixing existing ones. The problem with this particular queue tests is: I rewrote old-styled tests that used a loop time shift generator with IsolatedAsyncioTestCase keeping the minimal invasive changes. It doesn't work well, now tiny shifts are removed; only 'await sleep(0)' are left when a bare context switch is needed without a delay. -- ___ Python tracker <https://bugs.python.org/issue47076> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x
Change by Andrew Svetlov : -- pull_requests: +30130 pull_request: https://github.com/python/cpython/pull/32040 ___ Python tracker <https://bugs.python.org/issue47076> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x
Andrew Svetlov added the comment: Again a relative short timeouts and super slow test boxes. I₩'ll relax numbers. Thanks forbthe report! -- ___ Python tracker <https://bugs.python.org/issue47076> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34071] asyncio: repr(task) raises AssertionError for coros which loop.create_task accepts; complications ensue
Andrew Svetlov added the comment: Thanks! -- ___ Python tracker <https://bugs.python.org/issue34071> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd
Andrew Svetlov added the comment: New changeset 94f038cbb27dc6d1a74ae2bfedea674911f8e8c6 by Hugo van Kemenade in branch '3.10': [3.10] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) (#31997) https://github.com/python/cpython/commit/94f038cbb27dc6d1a74ae2bfedea674911f8e8c6 -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue47022> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25489] sys.exit() caught in exception handler
Andrew Svetlov added the comment: The change exists since Python 3.8 (October of 2019) The issue discussion belongs to 2015 -- ___ Python tracker <https://bugs.python.org/issue25489> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25489] sys.exit() caught in exception handler
Andrew Svetlov added the comment: Not sure if the issue is still relevant. asyncio re-raises KeyboardInterrupt explicitly in all loop.call_exception_handler() branches: https://github.com/python/cpython/blob/main/Lib/asyncio/base_events.py#L1759-L1814 -- ___ Python tracker <https://bugs.python.org/issue25489> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47071] asyncio proactor udp transport stops responding after send to port that isn't listening
Andrew Svetlov added the comment: Thanks for the report. Could you make a pull request? The whole attached windows_events.py is hard to analyze. -- ___ Python tracker <https://bugs.python.org/issue47071> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47015] Update tests from asyncore to asyncio
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47015> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47015] Update tests from asyncore to asyncio
Andrew Svetlov added the comment: New changeset 3ae975f1ac880c47d51cca6c9e305547bd365be7 by Oleg Iarygin in branch 'main': bpo-47015: Update test_os from asyncore to asyncio (GH-31876) https://github.com/python/cpython/commit/3ae975f1ac880c47d51cca6c9e305547bd365be7 -- ___ Python tracker <https://bugs.python.org/issue47015> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47057] Use FASTCALL convention for FutureIter.throw()
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47057> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten
Andrew Svetlov added the comment: New changeset cb7874f49d3d55df73a3c529773af14e2e344fb7 by andrei kulakov in branch 'main': bpo-44544: add textwrap placeholder arg (GH-27671) https://github.com/python/cpython/commit/cb7874f49d3d55df73a3c529773af14e2e344fb7 -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue44544> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47057] Use FASTCALL convention for FutureIter.throw()
Andrew Svetlov added the comment: New changeset 0a8b8e0d262eae83ffbc6b414a1f5747cdbd1d88 by Andrew Svetlov in branch 'main': bpo-47057: Use FASTCALL convention for FutureIter.throw() (GH-31973) https://github.com/python/cpython/commit/0a8b8e0d262eae83ffbc6b414a1f5747cdbd1d88 -- ___ Python tracker <https://bugs.python.org/issue47057> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44075] Add a PEP578 audit hook for Asyncio loop stalls
Andrew Svetlov added the comment: I am still not convinced that audit events should be used. Maybe support of explicit callbacks pair (on_start() + on_finish()) with `None` for fast-and-cheap "do nothing flag" is a better alternative for catching stale coroutines? -- ___ Python tracker <https://bugs.python.org/issue44075> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31799 ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47062] Implement asyncio.Runner context manager
New submission from Andrew Svetlov : Sometimes asyncio.run() is not enough. For example, unittest test case needs to call several async functions (setup, test, teardown) from the synchronous code using the same execution context and event loop. The proposal provides the following: with Runner() as runner: runner.run(async_func()) -- components: asyncio messages: 415527 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Implement asyncio.Runner context manager versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue47062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46343] Add PyErr_GetActiveException and PyErr_SetActiveException
Andrew Svetlov added the comment: I have a side question. generator.throw() and coroutine.throw() have throw(type[, value[, traceback]]) signature. Is there a plan to update generators somehow to accept the exception value only? The change can go in line with other exception API changes. -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue46343> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47057] Use FASTCALL convention for FutureIter.throw()
New submission from Andrew Svetlov : All other asyncio functions are converted to fast calls already. -- components: asyncio messages: 415489 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Use FASTCALL convention for FutureIter.throw() versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue47057> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47057] Use FASTCALL convention for FutureIter.throw()
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30063 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31973 ___ Python tracker <https://bugs.python.org/issue47057> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)
Change by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker <https://bugs.python.org/issue39622> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46223] asyncio cause infinite loop during debug
Andrew Svetlov added the comment: Fixed by #47039 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Normalize asyncio future and task repr() ___ Python tracker <https://bugs.python.org/issue46223> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34790] Deprecate-remove passing coroutine objects to asyncio.wait()
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue34790> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34790] Deprecate-remove passing coroutine objects to asyncio.wait()
Andrew Svetlov added the comment: New changeset 903f0a02c16240dc769a08c30e8d072a4fb09154 by Andrew Svetlov in branch 'main': bpo-34790: Remove passing coroutine objects to asyncio.wait() (GH-31964) https://github.com/python/cpython/commit/903f0a02c16240dc769a08c30e8d072a4fb09154 -- ___ Python tracker <https://bugs.python.org/issue34790> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46030] socket module add couple of FreeBSD constants
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue46030> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46030] socket module add couple of FreeBSD constants
Andrew Svetlov added the comment: New changeset 33698e8ff40fcc67df3d95658e87196f8021de6f by David CARLIER in branch 'main': bpo-46030: socket module add couple of FreeBSD constants. (GH-30018) https://github.com/python/cpython/commit/33698e8ff40fcc67df3d95658e87196f8021de6f -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue46030> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34790] Deprecate-remove passing coroutine objects to asyncio.wait()
Change by Andrew Svetlov : -- pull_requests: +30053 pull_request: https://github.com/python/cpython/pull/31964 ___ Python tracker <https://bugs.python.org/issue34790> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42838] Wait for cleanup coroutines before event loop is closed.
Andrew Svetlov added the comment: asyncio.run() present since Python 3.7 After the main coroutine finish, it cancels all background tasks and waits for their termination. Background tasks can use old good `try/finally` for resources cleanup. An additional API is not required IMHO. -- ___ Python tracker <https://bugs.python.org/issue42838> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24080] asyncio.Event.wait() Task was destroyed but it is pending
Andrew Svetlov added the comment: Duplicate for #39622 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> KeyboardInterrupt is ignored when await asyncio.sleep(0) ___ Python tracker <https://bugs.python.org/issue24080> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34790] Deprecate-remove passing coroutine objects to asyncio.wait()
Change by Andrew Svetlov : -- title: Deprecate passing coroutine objects to asyncio.wait() -> Deprecate-remove passing coroutine objects to asyncio.wait() ___ Python tracker <https://bugs.python.org/issue34790> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects
Andrew Svetlov added the comment: Implemented by #32591 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s) ___ Python tracker <https://bugs.python.org/issue30491> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42683] asyncio should handle keyboard interrupt while the event loop is running
Andrew Svetlov added the comment: Duplicate for #39622 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> KeyboardInterrupt is ignored when await asyncio.sleep(0) ___ Python tracker <https://bugs.python.org/issue42683> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43019] wait_for(to_thread)) does not work as expected. Extra documentation or fix needed.
Andrew Svetlov added the comment: Threads are not interruptable in Python. The same for concurrent.future executor. asyncio and `wait_for` is not special. I'm not sure should we document it and *if* yes -- where should we do it? Adding a note to every function could be cumbersome. -- ___ Python tracker <https://bugs.python.org/issue43019> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42838] Wait for cleanup coroutines before event loop is closed.
Andrew Svetlov added the comment: asyncio.run() does the task -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue42838> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40811] Allow to create new Event Loops on Threads
Andrew Svetlov added the comment: I suggest closing. The documentation explicitly describes how asyncio works with threads. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue40811> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40007] An attempt to make asyncio.transport.writelines (selector) use Scatter I/O
Andrew Svetlov added the comment: A duplicate of #47010 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Implement zero copy writes in SelectorSocketTransport in asyncio ___ Python tracker <https://bugs.python.org/issue40007> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42941] Infinite loop in asyncio sslproto
Andrew Svetlov added the comment: sslproto was rewritten from scratch in Python 3.11 -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue42941> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47039] Normalize asyncio future and task repr()
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47039> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47039] Normalize asyncio future and task repr()
Andrew Svetlov added the comment: New changeset 30b5d41fabad04f9f34d603f1ce2249452c18c71 by Andrew Svetlov in branch 'main': bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950) https://github.com/python/cpython/commit/30b5d41fabad04f9f34d603f1ce2249452c18c71 -- ___ Python tracker <https://bugs.python.org/issue47039> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Andrew Svetlov added the comment: New changeset a7c54148322781cb0f332d440a3454d550ef6414 by Andrew Svetlov in branch 'main': bpo-47038: Increase a test timeout for slow CI machines (GH-31951) https://github.com/python/cpython/commit/a7c54148322781cb0f332d440a3454d550ef6414 -- ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- pull_requests: +30042 pull_request: https://github.com/python/cpython/pull/31951 ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Andrew Svetlov added the comment: New changeset 36f62c55759c4246f969f60f7470ba756f77b268 by Miss Islington (bot) in branch '3.10': bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946) (#31948) https://github.com/python/cpython/commit/36f62c55759c4246f969f60f7470ba756f77b268 -- ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47039] Normalize asyncio future and task repr()
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30041 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31950 ___ Python tracker <https://bugs.python.org/issue47039> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47039] Normalize asyncio future and task repr()
New submission from Andrew Svetlov : Return `...` in the case of recursive representation. Now the only result is replaced with `...`, all other future properties are still printed. It doesn't follow `repr()` for other stdlib objects. -- components: asyncio messages: 415375 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Normalize asyncio future and task repr() versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue47039> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Andrew Svetlov added the comment: New changeset 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a by Andrew Svetlov in branch 'main': bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946) https://github.com/python/cpython/commit/3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a -- ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- pull_requests: +30037 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31946 ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Andrew Svetlov added the comment: test_cancel_blocking_wait_for() / test_cancel_wait_for() is not converted still. -- resolution: fixed -> stage: resolved -> status: closed -> open ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
Andrew Svetlov added the comment: New changeset 3244659521798417810100904f39ae5dabe60a7f by Andrew Svetlov in branch '3.9': [3.9] bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942). (GH-31944) https://github.com/python/cpython/commit/3244659521798417810100904f39ae5dabe60a7f -- ___ Python tracker <https://bugs.python.org/issue47038> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com