bpo-34790: Document how passing coroutines to asyncio.wait() can be confusing. by 1st1 · Pull Request #9543 · python/cpython
1st1
deleted the
fix_wait_doc
branch
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…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
carmenbianca added a commit to carmenbianca/python-prompt-toolkit that referenced this pull request
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
* 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters