-
Notifications
You must be signed in to change notification settings - Fork 88
Adapting curio-server.py to trio #46
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
Conversation
Combine my two favorite projects by @njsmith
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 21 21
Lines 904 908 +4
Branches 173 177 +4
=====================================
+ Hits 904 908 +4
Continue to review full report at Codecov.
|
The curio server helpers do this automatically; since here we're using a lower-level API we need to do it by hand. (Of course in the future trio will have its own helper API and we can get rid of all of this...)
Including using the new stream APIs!
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 21 21
Lines 904 908 +4
Branches 173 177 +4
=====================================
+ Hits 904 908 +4
Continue to review full report at Codecov.
|
|
Now that Trio finally has a solid set of highlevel networking APIs, I just updated this to use them and switched over the examples to using Trio consistently. Now let's see what Travis thinks... |
|
...or maybe this is a doc-only change and we don't currently test docs, plus travis is down anyway. YOLO! |
|
I wish you hadn't removed the |
Combining my two favorite projects by @njsmith