diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-04 17:54:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-04 17:54:50 (GMT) |
commit | c967bd523caabb05bf5988449487d7c1717f3ac6 (patch) | |
tree | 9285bd67b942ee453f0d007130c2a1f45706a927 /Lib/asyncio/subprocess.py | |
parent | ce83e42437b8e5a4bf4237f981a7a90401922456 (diff) | |
download | cpython-c967bd523caabb05bf5988449487d7c1717f3ac6.zip cpython-c967bd523caabb05bf5988449487d7c1717f3ac6.tar.gz cpython-c967bd523caabb05bf5988449487d7c1717f3ac6.tar.bz2 |
[3.9] bpo-45097: Remove incorrect deprecation warnings in asyncio. (GH-28153)
Deprecation warnings about the loop argument were incorrectly emitted
in cases when the loop argument was used inside the asyncio library,
not from user code.
Diffstat (limited to 'Lib/asyncio/subprocess.py')
-rw-r--r-- | Lib/asyncio/subprocess.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/subprocess.py b/Lib/asyncio/subprocess.py index c9506b1..820304e 100644 --- a/Lib/asyncio/subprocess.py +++ b/Lib/asyncio/subprocess.py @@ -193,8 +193,8 @@ class Process: stderr = self._read_stream(2) else: stderr = self._noop() - stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr, - loop=self._loop) + stdin, stdout, stderr = await tasks._gather(stdin, stdout, stderr, + loop=self._loop) await self.wait() return (stdout, stderr) |