Skip to content

remove redundant call to attach_loop #110847

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
Oct 14, 2023

Conversation

graingert
Copy link
Contributor

@graingert graingert commented Oct 13, 2023

PidfdChildWatcher and ThreadedChildWatcher both define a noop attach_loop method so the call is redundant

I didn't think this PR requires an issue

@graingert graingert marked this pull request as ready for review October 13, 2023 22:41
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Is this backportable?

@gvanrossum gvanrossum merged commit 5965891 into python:main Oct 14, 2023
@graingert graingert deleted the redundant-attach-loop branch October 14, 2023 08:35
@graingert
Copy link
Contributor Author

Looks backportable to 3.11 and 3.12

@gvanrossum gvanrossum added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Oct 14, 2023
@miss-islington
Copy link
Contributor

Thanks @graingert for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @graingert for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @graingert and @gvanrossum, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 596589104fe5a4d90cb145b2cc69b71cc9aa9f07 3.11

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 14, 2023
(cherry picked from commit 5965891)

Co-authored-by: Thomas Grainger <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Oct 14, 2023

GH-110867 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Oct 14, 2023
@gvanrossum
Copy link
Member

Let’s forget about 3.11.

@gvanrossum gvanrossum removed the needs backport to 3.11 only security fixes label Oct 14, 2023
@bedevere-app
Copy link

bedevere-app bot commented Oct 14, 2023

GH-110870 is a backport of this pull request to the 3.11 branch.

gvanrossum pushed a commit that referenced this pull request Oct 14, 2023
gvanrossum pushed a commit that referenced this pull request Oct 15, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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.

3 participants