-
-
Notifications
You must be signed in to change notification settings - Fork 345
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 deprecated unbounded queue #2925
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2925 +/- ##
================================================
Coverage 100.00000% 100.00000%
================================================
Files 124 122 -2
Lines 18427 18269 -158
Branches 1215 1205 -10
================================================
- Hits 18427 18269 -158
|
Also make the generation script always use unix newlines, even on Windows
# waitqueue), but in the future we ever start support task priorities or fair | ||
# scheduling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The grammar here is a bit odd. I would change it to something like
"but in the future if we ever support task priorities or
fair scheduling it should be fairly simple."
@@ -43,7 +43,7 @@ def current_kqueue() -> select.kqueue: | |||
|
|||
def monitor_kevent( | |||
ident: int, filter: int | |||
) -> ContextManager[_core.UnboundedQueue[select.kevent]]: | |||
) -> ContextManager[MemoryReceiveChannel[select.kevent]]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh actually I'm just realizing this is potentially a compat break. I can work around this using a kwarg but I need to see if this currently warns or not...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Private subclass which adds the unbounded queue methods but warns if you call them?
ef73f38
to
009cbb5
Compare
Very much based off of #937; fixes #2922; should be in the next 0.x.0 release so don't merge this yet!