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

Remove quasi-public APIs from trio socket interface #249

Merged
merged 2 commits into from
Jul 26, 2017

Conversation

njsmith
Copy link
Member

@njsmith njsmith commented Jul 25, 2017

There were some underscored attributes that were accessed from
SocketStream. Fix that, in preparation for gh-170.

I don't want this in the "public" socket interface, because it
interferes with python-triogh-170.
@njsmith njsmith force-pushed the fix-SocketType-public-interface branch from a900240 to e7c9667 Compare July 26, 2017 10:24
@codecov
Copy link

codecov bot commented Jul 26, 2017

Codecov Report

Merging #249 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   99.11%   99.13%   +0.01%     
==========================================
  Files          63       63              
  Lines        8746     8763      +17     
  Branches      626      626              
==========================================
+ Hits         8669     8687      +18     
  Misses         61       61              
+ Partials       16       15       -1
Impacted Files Coverage Δ
trio/_network.py 100% <100%> (ø) ⬆️
trio/tests/test_socket.py 100% <100%> (ø) ⬆️
trio/socket.py 100% <100%> (+0.43%) ⬆️

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 12c41b4...6ee9f14. Read the comment docs.

This is more prep for python-triogh-170. As of this commit SocketType no longer
has any secret-but-quasi-public APIs.
@njsmith njsmith force-pushed the fix-SocketType-public-interface branch from e7c9667 to 6ee9f14 Compare July 26, 2017 10:35
@njsmith njsmith merged commit aa4640d into python-trio:master Jul 26, 2017
@njsmith njsmith deleted the fix-SocketType-public-interface branch July 26, 2017 11:09
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.

1 participant