Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.13] GH-125789: fixfut._callbacks to always return a copy of callbacks (#125922)#125976

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@kumaraditya303
Copy link
Contributor

@kumaraditya303kumaraditya303 commentedOct 25, 2024
edited by bedevere-appbot
Loading

Fixasyncio.Future._callbacks to always return a copy of the internal list of callbacks to avoid mutation from user code affecting the internal state.

(cherry picked from commitcae853e)

…backs (python#125922)Fix `asyncio.Future._callbacks` to always return a copy of the internal list of callbacks to avoid mutation from user code affecting the internal state.(cherry picked from commitcae853e)
@miss-islington-app
Copy link

Thanks@kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 25, 2024
…of callbacks (pythonGH-125922) (pythonGH-125976)pythonGH-125789: fix `fut._callbacks` to always return a copy of callbacks (pythonGH-125922)Fix `asyncio.Future._callbacks` to always return a copy of the internal list of callbacks to avoid mutation from user code affecting the internal state.(cherry picked from commitf54e1a2)Co-authored-by: Kumar Aditya <kumaraditya@python.org>(cherry picked from commitcae853e)
@bedevere-app
Copy link

GH-125977 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelOct 25, 2024
@kumaraditya303kumaraditya303 deleted the backport-cae853e-3.13 branchOctober 29, 2024 16:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@1st11st1Awaiting requested review from 1st11st1 is a code owner

@asvetlovasvetlovAwaiting requested review from asvetlovasvetlov is a code owner

@gvanrossumgvanrossumAwaiting requested review from gvanrossumgvanrossum is a code owner

@willingcwillingcAwaiting requested review from willingcwillingc is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@kumaraditya303

[8]ページ先頭

©2009-2025 Movatter.jp