-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Renames and deprecations for #68 #324
Conversation
...and deprecate current_call_soon_thread_and_signal_safe. Still need to update callers and docs, but tests are passing (with tons of deprecation warnings).
This lets us use things like: @deprecated(..., instead=BlockingTrioPortal.run) def current_await_in_trio_thread(): ... and the message about BlockingTrioPortal.run now shows up correctly.
Codecov Report
@@ Coverage Diff @@
## master #324 +/- ##
==========================================
+ Coverage 99.24% 99.25% +<.01%
==========================================
Files 86 87 +1
Lines 10327 10817 +490
Branches 726 786 +60
==========================================
+ Hits 10249 10736 +487
- Misses 61 63 +2
- Partials 17 18 +1
Continue to review full report at Codecov.
|
fa66630
to
d716003
Compare
Coverage changes appear to be spurious, due to #326 being merged in between the Linux/Windows builds and the MacOS builds. |
Adds:
Deprecates:
The new API has more consistent naming is generally less confusing due
to the use of actual objects instead of the unconventional returning
closures thing.