]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 7 Oct 2022 01:50:25 +0000 (18:50 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 01:50:25 +0000 (18:50 -0700)
commitd163d5976dbb07ed7bc157260ab29452f940b567
treee921f91dab49ac6ac51c6a851c6da4ae0cf1bc8a
parentc9d0a7a6bc2f5d5521452790fb4885bb21deca15
GH-90985: Revert  "Deprecate passing a message into cancel()" (GH-97999)

Reason: we were too hasty in deprecating this.
We shouldn't deprecate it before we have a replacement.
(cherry picked from commit 09de8d7aafece264720afbca3052a63eee413b73)

Co-authored-by: Guido van Rossum <guido@python.org>
Doc/library/asyncio-future.rst
Doc/library/asyncio-task.rst
Lib/asyncio/futures.py
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_futures.py
Lib/test/test_asyncio/test_tasks.py
Misc/NEWS.d/next/Library/2022-10-06-23-42-00.gh-issue-90985.s280JY.rst [new file with mode: 0644]
Modules/_asynciomodule.c