mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)
This commit is contained in:
parent
fdccfe09f0
commit
416c1ebd98
7 changed files with 51 additions and 9 deletions
|
@ -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__ +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue