]> granicus.if.org Git - python/commit
bpo-32311: Implement asyncio.create_task() shortcut (#4848)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 15 Dec 2017 05:04:38 +0000 (07:04 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2017 05:04:38 +0000 (07:04 +0200)
commitf74ef458ab1f502e4e60bd1502ac1dc0d2cb3847
tree7c622fa99ba081586a655b1744dae0a46b3a0f95
parent19a44f63c738388ef3c8515348b4ffc061dfd627
bpo-32311: Implement asyncio.create_task() shortcut (#4848)

* Implement functionality
* Add documentation
12 files changed:
Doc/library/asyncio-task.rst
Lib/asyncio/base_futures.py
Lib/asyncio/constants.py
Lib/asyncio/coroutines.py
Lib/asyncio/events.py
Lib/asyncio/format_helpers.py [new file with mode: 0644]
Lib/asyncio/futures.py
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_asyncio/utils.py
Misc/NEWS.d/next/Library/2017-12-14-17-28-54.bpo-32311.DL5Ytn.rst [new file with mode: 0644]
Modules/_asynciomodule.c