FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-38323: Add guard clauses in MultiLoopChildWatcher. by cjerdonek · Pull Request #22756 · python/cpython · GitHub

Repository navigation

bpo-38323: Add guard clauses in MultiLoopChildWatcher. - #22756

Merged
asvetlov merged 1 commit into
python:masterfrom
cjerdonek:issue-38323-multi-watcher-tweak
Dec 16, 2020
Merged

asvetlov merged 1 commit into
python:masterfrom
cjerdonek:issue-38323-multi-watcher-tweak

Conversation

cjerdonek commented Oct 18, 2020 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

This is a trivial refactor in preparation for a fix for bpo-38323 (see #20142).

https://bugs.python.org/issue38323

This is a trivial refactor in preparation for a fix for bpo-38323.

aeros left a comment •
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. Sorry for the delay, I got caught up with organizing the sprint (and participating the week of Oct. 19-23), then took a bit of a break after it was over.

With usage of guard clauses instead of an additional layer of nested indents though, I found it significantly easier to mentally parse (which makes a difference especially for someone less experienced w/ non-trivial signal handling, like myself). Also, thanks for splitting this refactor away from #20142, that definitely makes the review process easier.

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions Bot added the stale Stale PR or inactive for long period of time. label Dec 16, 2020
asvetlov merged commit 66d3b58 into python:master Dec 16, 2020

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

@asvetlov: Please replace # with GH- in the commit message next time. Thanks!

Copy link
Copy Markdown
Contributor

Thanks! Sorry for delay

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 16, 2020
This is a trivial refactor in preparation for a fix for bpo-38323.
(cherry picked from commit 66d3b58)

Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 16, 2020
This is a trivial refactor in preparation for a fix for bpo-38323.
(cherry picked from commit 66d3b58)

Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>

Copy link
Copy Markdown

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

miss-islington added a commit that referenced this pull request Dec 16, 2020
This is a trivial refactor in preparation for a fix for bpo-38323.
(cherry picked from commit 66d3b58)

Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
miss-islington added a commit that referenced this pull request Dec 16, 2020
This is a trivial refactor in preparation for a fix for bpo-38323.
(cherry picked from commit 66d3b58)

Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
This is a trivial refactor in preparation for a fix for bpo-38323.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL