[issue47062] Implement asyncio.Runner context manager

2022-03-25 Thread Andrew Svetlov
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 --

[issue47062] Implement asyncio.Runner context manager

2022-03-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: I believe the error is fixed by #47118 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue47062] Implement asyncio.Runner context manager

2022-03-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +30189 pull_request: https://github.com/python/cpython/pull/32113 ___ Python tracker ___

[issue47062] Implement asyncio.Runner context manager

2022-03-25 Thread Kumar Aditya
Kumar Aditya added the comment: With this change, Github Actions fails first time and it passes in the second rerun of running asyncio tests. See https://github.com/python/cpython/runs/5682275663?check_suite_focus=true and main branch. -- nosy: +kumaraditya303

[issue47062] Implement asyncio.Runner context manager

2022-03-24 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47062] Implement asyncio.Runner context manager

2022-03-24 Thread Andrew Svetlov
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 --

[issue47062] Implement asyncio.Runner context manager

2022-03-21 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47062] Implement asyncio.Runner context manager

2022-03-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31799 ___ Python tracker ___

[issue47062] Implement asyncio.Runner context manager

2022-03-18 Thread Andrew Svetlov
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