Skip to content

bpo-43959: clarify the documentation of the PyContextVar C-API #25671

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 1 commit into from
Apr 28, 2021

Conversation

scoder
Copy link
Contributor

@scoder scoder commented Apr 27, 2021

https://bugs.python.org/issue43959

Automerge-Triggered-By: GH:scoder

pointer to a :c:type:`PyObject` object, or ``NULL`` if an error
has occurred.
Set the value of *var* to *value* in the current context. Returns
a new token object for this change, or ``NULL`` if an error has occurred.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we hyperlink to PyContextToken for the term token object ?

Copy link
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me.

A hyperlink to PyContextToken will be helpful.

@miss-islington
Copy link
Contributor

Thanks @scoder for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 28, 2021
…nGH-25671)

Automerge-Triggered-By: GH:scoder
(cherry picked from commit 4c49be7)

Co-authored-by: scoder <stefan_ml@behnel.de>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Apr 28, 2021
@bedevere-bot
Copy link

GH-25689 is a backport of this pull request to the 3.9 branch.

@bedevere-bot
Copy link

GH-25690 is a backport of this pull request to the 3.8 branch.

scoder pushed a commit that referenced this pull request Apr 28, 2021
scoder pushed a commit that referenced this pull request Apr 28, 2021
@scoder scoder deleted the bpo-43959_contextvar_docs branch April 28, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants