Skip to content

[#1526]: Preventing the problem of catching an empty list of signals - #1527

Merged
pquentin merged 1 commit into
python-trio:masterfrom
kaldown:#1526
May 16, 2020
Merged

[#1526]: Preventing the problem of catching an empty list of signals#1527
pquentin merged 1 commit into
python-trio:masterfrom
kaldown:#1526

Conversation

@kaldown

@kaldown kaldown commented May 16, 2020

Copy link
Copy Markdown
Contributor

closes #1526

@codecov

codecov Bot commented May 16, 2020

Copy link
Copy Markdown

Codecov Report

Merging #1527 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1527   +/-   ##
=======================================
  Coverage   99.67%   99.67%           
=======================================
  Files         107      107           
  Lines       13239    13308   +69     
  Branches     1006     1010    +4     
=======================================
+ Hits        13196    13265   +69     
  Misses         28       28           
  Partials       15       15           
Impacted Files Coverage Δ
trio/_signals.py 100.00% <100.00%> (ø)
trio/tests/test_signals.py 100.00% <100.00%> (ø)
trio/_subprocess.py 100.00% <0.00%> (ø)
trio/tests/test_subprocess.py 100.00% <0.00%> (ø)

@kaldown kaldown changed the title [#1526]: Preventing the problem of catching an empty list of signals [WIP][#1526]: Preventing the problem of catching an empty list of signals May 16, 2020
@kaldown kaldown changed the title [WIP][#1526]: Preventing the problem of catching an empty list of signals [#1526]: Preventing the problem of catching an empty list of signals May 16, 2020

@pquentin pquentin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good! I requested one small change on the exception type. What do you think?

Comment thread trio/tests/test_signals.py Outdated
Comment thread trio/_signals.py Outdated
@kaldown
kaldown force-pushed the #1526 branch 2 times, most recently from 5d9ede1 to e3deb39 Compare May 16, 2020 09:59
@kaldown kaldown changed the title [#1526]: Preventing the problem of catching an empty list of signals [WIP][#1526]: Preventing the problem of catching an empty list of signals May 16, 2020
@kaldown kaldown changed the title [WIP][#1526]: Preventing the problem of catching an empty list of signals [#1526]: Preventing the problem of catching an empty list of signals May 16, 2020
@kaldown
kaldown force-pushed the #1526 branch 3 times, most recently from e7cf15c to 4905365 Compare May 16, 2020 10:26
@kaldown

kaldown commented May 16, 2020

Copy link
Copy Markdown
Contributor Author

Finally, I won that *.rst.This __ at the end of the url, looks weird, but helpful.

Comment thread newsfragments/1526.feature.rst Outdated
Comment thread newsfragments/1526.feature.rst Outdated
@oremanj

oremanj commented May 16, 2020

Copy link
Copy Markdown
Member

Also, please write "Closes #1526" in the PR description so that merging the PR will close the issue. Just listing the issue number isn't sufficient for that.

@pquentin pquentin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@pquentin
pquentin merged commit 51dd435 into python-trio:master May 16, 2020
@kaldown

kaldown commented May 17, 2020

Copy link
Copy Markdown
Contributor Author

Thank you for the patient :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trio.open_signal_receiver should give an error if no arguments are passed

4 participants