◐ Shell
clean mode source ↗

bpo-34790: Document how passing coroutines to asyncio.wait() can be confusing. by 1st1 · Pull Request #9543 · python/cpython

asvetlov

@1st1 1st1 deleted the fix_wait_doc branch

September 25, 2018 18:51

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 25, 2018
…ng. (pythonGH-9543)

(cherry picked from commit 996859a)

Co-authored-by: Yury Selivanov <yury@magic.io>

miss-islington added a commit that referenced this pull request

Sep 25, 2018
…ng. (GH-9543)

(cherry picked from commit 996859a)

Co-authored-by: Yury Selivanov <yury@magic.io>

carmenbianca added a commit to carmenbianca/python-prompt-toolkit that referenced this pull request

Nov 22, 2020
Under some circumstances (see
<xonsh/xonsh#3907>) a DeprecationWarning would
be printed. This is because of passing coroutine objects directly to
asyncio.wait(), which is confusing behaviour that has been deprecated.

<python/cpython#9543> gives information on how
to refactor code that uses the deprecated method.

Signed-off-by: Carmen Bianca Bakker <carmen@carmenbianca.eu>

jonathanslenders pushed a commit to prompt-toolkit/python-prompt-toolkit that referenced this pull request

Dec 3, 2020
* Prevent asyncio DeprecationWarning

Under some circumstances (see
<xonsh/xonsh#3907>) a DeprecationWarning would
be printed. This is because of passing coroutine objects directly to
asyncio.wait(), which is confusing behaviour that has been deprecated.

<python/cpython#9543> gives information on how
to refactor code that uses the deprecated method.

Signed-off-by: Carmen Bianca Bakker <carmen@carmenbianca.eu>