-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-32436: Document PEP 567 changes to asyncio. #7073
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
Conversation
|
@elprans please take a look. |
Doc/library/asyncio-eventloop.rst
Outdated
| Any positional arguments after the callback will be passed to the | ||
| callback when it is called. | ||
|
|
||
| An optional keyword-only *context* parameter allows to specify a custom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The optional context keyword-only argument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix paremeter to argument
Doc/library/asyncio-eventloop.rst
Outdated
| is called. If you want the callback to be called with some named | ||
| arguments, use a closure or :func:`functools.partial`. | ||
|
|
||
| An optional keyword-only *context* parameter allows to specify a custom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The optional context keyword-only argument
Doc/library/asyncio-task.rst
Outdated
| future is already done when this is called, the callback is scheduled | ||
| with :meth:`~AbstractEventLoop.call_soon`. | ||
|
|
||
| An optional keyword-only *context* parameter allows to specify a custom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The optional context keyword-only argument
Doc/whatsnew/3.7.rst
Outdated
| destroying the event loop. | ||
| (Contributed by Yury Selivanov in :issue:`32314`.) | ||
|
|
||
| * asyncio gains support for :mod:`contextvars`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/gains/gained/
|
Thanks @1st1 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
(cherry picked from commit 28b9178) Co-authored-by: Yury Selivanov <[email protected]>
|
GH-7077 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit 28b9178) Co-authored-by: Yury Selivanov <[email protected]>
https://bugs.python.org/issue32436