Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented Dec 17, 2025

Copy link
Contributor

@sergey-miryanov sergey-miryanov left a comment

Choose a reason for hiding this comment

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

ENSURE_ContextVar do this check.
LGTM!

@sobolevn sobolevn merged commit e61a447 into python:main Dec 17, 2025
48 checks passed
@miss-islington-app
Copy link

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 17, 2025
…`PyContextVar_Set` (pythonGH-142874)

(cherry picked from commit e61a447)

Co-authored-by: sobolevn <mail@sobolevn.me>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 17, 2025
…`PyContextVar_Set` (pythonGH-142874)

(cherry picked from commit e61a447)

Co-authored-by: sobolevn <mail@sobolevn.me>
@bedevere-app
Copy link

bedevere-app bot commented Dec 17, 2025

GH-142893 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Dec 17, 2025
@bedevere-app
Copy link

bedevere-app bot commented Dec 17, 2025

GH-142894 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Dec 17, 2025
sobolevn added a commit that referenced this pull request Dec 17, 2025
… `PyContextVar_Set` (GH-142874) (#142894)

gh-142873: Do not check for `PyContextVar_CheckExact` twice in `PyContextVar_Set` (GH-142874)
(cherry picked from commit e61a447)

Co-authored-by: sobolevn <mail@sobolevn.me>
sobolevn added a commit that referenced this pull request Dec 17, 2025
… `PyContextVar_Set` (GH-142874) (#142893)

gh-142873: Do not check for `PyContextVar_CheckExact` twice in `PyContextVar_Set` (GH-142874)
(cherry picked from commit e61a447)

Co-authored-by: sobolevn <mail@sobolevn.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants