bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)

This commit is contained in:
Yury Selivanov 2018-05-28 17:54:02 -04:00 committed by GitHub
parent fdccfe09f0
commit 416c1ebd98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 51 additions and 9 deletions

View file

@ -18,6 +18,10 @@ from .subprocess import *
from .tasks import *
from .transports import *
# Exposed for _asynciomodule.c to implement now deprecated
# Task.all_tasks() method. This function will be removed in 3.9.
from .tasks import _all_tasks_compat # NoQA
__all__ = (base_events.__all__ +
coroutines.__all__ +
events.__all__ +