]> 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)
committerPablo Galindo <pablogsal@gmail.com>
Mon, 24 Oct 2022 16:09:41 +0000 (17:09 +0100)
commit981b509784c733c54d47bd4d1ceea34fc7ebcac3
treecd7d3a1ed017795083759ecde77f3a3c55fd57da
parentf0083923faa1759e4770cf03bd45312fea6df729
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