Skip to content
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

Make socket bind async, and related fixups #378

Merged
merged 5 commits into from
Dec 21, 2017

Conversation

njsmith
Copy link
Member

@njsmith njsmith commented Dec 20, 2017

Fixes #241

I might also fix the issue known as #377 while I'm at it, but posting now to see
what CI says.

This commit doesn't actually do anything to take advantage of it, but
contains all the necessary test tweaks etc.
Since this can perform blocking filesystem operations.
@codecov
Copy link

codecov bot commented Dec 20, 2017

Codecov Report

Merging #378 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #378      +/-   ##
==========================================
+ Coverage   99.31%   99.31%   +<.01%     
==========================================
  Files          87       87              
  Lines       10469    10487      +18     
  Branches      728      728              
==========================================
+ Hits        10397    10415      +18     
  Misses         56       56              
  Partials       16       16
Impacted Files Coverage Δ
trio/tests/test_socket.py 100% <100%> (ø) ⬆️
trio/_highlevel_open_tcp_listeners.py 100% <100%> (ø) ⬆️
trio/tests/test_ssl.py 100% <100%> (ø) ⬆️
trio/tests/test_testing.py 100% <100%> (ø) ⬆️
trio/tests/test_highlevel_socket.py 100% <100%> (ø) ⬆️
trio/tests/test_highlevel_open_tcp_stream.py 100% <100%> (ø) ⬆️
trio/_socket.py 100% <100%> (ø) ⬆️
trio/tests/test_highlevel_open_tcp_listeners.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbed948...8593521. Read the comment docs.

@njsmith njsmith merged commit 3702538 into python-trio:master Dec 21, 2017
@njsmith njsmith deleted the async-bind branch December 21, 2017 03:11
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.

socket.bind() is a blocking call
1 participant