8000 GH-102748: remove legacy support for generator based coroutines from `asyncio.iscoroutine` by kumaraditya303 · Pull Request #102749 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-102748: remove legacy support for generator based coroutines from asyncio.iscoroutine #102749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wrap lines
  • Loading branch information
kumaraditya303 committed Mar 16, 2023
commit 05c0944944529220c78605312c495dc250aa4fb0
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ asyncio
(Contributed by Itamar Ostricher and Pranav Thulasiram Bhat in :gh:`100344`.)

* :func:`asyncio.iscoroutine` now returns :const:`False` for generators as
:mod:`asyncio` does not supports legacy generator based coroutines.
:mod:`asyncio` does not supports legacy generator-based coroutines.
(Contributed by Kumar Aditya in :gh:`102748`.)

inspect
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
:func:`asyncio.iscoroutine` now returns :const:`False` for generators as :mod:`asyncio` does not supports legacy generator based coroutines. Patch by Kumar Aditya.
:func:`asyncio.iscoroutine` now returns :const:`False` for generators as
:mod:`asyncio` does not supports legacy generator-based coroutines.
Patch by Kumar Aditya.
0