[issue32314] Implement asyncio.run()

2018-01-21 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset a4afcdfa55ddffa4b9ae3b0cf101628c7bff4102 by Yury Selivanov in branch 'master': bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262)

[issue32314] Implement asyncio.run()

2018-01-21 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5107 ___ Python tracker ___ ___

[issue32314] Implement asyncio.run()

2017-12-14 Thread Yury Selivanov
Yury Selivanov added the comment: > Wow, I really love your new function. Thanks Yury! asyncio examples in the > doc look much better now! This year I'll stay for the sprints at PyCon, and will focus on improving the docs further. I needed asyncio.run for that :)

[issue32314] Implement asyncio.run()

2017-12-14 Thread STINNER Victor
STINNER Victor added the comment: Wow, I really love your new function. Thanks Yury! asyncio examples in the doc look much better now! -- nosy: +vstinner ___ Python tracker

[issue32314] Implement asyncio.run()

2017-12-14 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32314] Implement asyncio.run()

2017-12-14 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 02a0a19206da6902c3855a1fa09e60b208474cfa by Yury Selivanov in branch 'master': bpo-32314: Implement asyncio.run() (#4852) https://github.com/python/cpython/commit/02a0a19206da6902c3855a1fa09e60b208474cfa --

[issue32314] Implement asyncio.run()

2017-12-13 Thread Yury Selivanov
Yury Selivanov added the comment: I'll open a separate issue to improve Server's API. AFAIK it's the main reason for having run_forever(). -- ___ Python tracker

[issue32314] Implement asyncio.run()

2017-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like avoiding run_forever() -- the function always was too cumbersome. -- ___ Python tracker

[issue32314] Implement asyncio.run()

2017-12-13 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +4741 stage: -> patch review ___ Python tracker ___

[issue32314] Implement asyncio.run()

2017-12-13 Thread Yury Selivanov
New submission from Yury Selivanov : There's a fairly extensive discussion here: https://github.com/python/asyncio/pull/465 In short, asyncio.run() is a pretty straightforward addition, so let's add it. The discussion was more focused on the asyncio.run_forever()