]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-90985: Revert "Deprecate passing a message into cancel()" (#97999)
authorGuido van Rossum <guido@python.org>
Fri, 7 Oct 2022 00:30:27 +0000 (17:30 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 00:30:27 +0000 (17:30 -0700)
commit09de8d7aafece264720afbca3052a63eee413b73
treebce00a034fb3e8ca5235aac60d549d5c8415d610
parentc46a423a520b797c3f8c81fef19293864742755d
GH-90985: Revert  "Deprecate passing a message into cancel()" (#97999)

Reason: we were too hasty in deprecating this.
We shouldn't deprecate it before we have a replacement.
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