8000 `kqueue.control()` only accepts positional parameters by apoirier · Pull Request #1062 · gorakhargosh/watchdog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kqueue.control() only accepts positional parameters #1062

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

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Changelog

2024-xx-xx • `full history <https://github.com/gorakhargosh/watchdog/compare/v5.0.0...HEAD>`__

-
- Thanks to our beloved contributors: @
- [kqueue] Fix ``TypeError: kqueue.control() only accepts positional parameters`` (`#1062 <https://github.com/gorakhargosh/watchdog/pull/1062>`__)
- Thanks to our beloved contributors: @apoirier

5.0.0
~~~~~
Expand Down
2 changes: 1 addition & 1 deletion src/watchdog/observers/kqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def _read_events(self, timeout: float) -> list[select.kevent]:
:type timeout:
``float`` (seconds)
"""
return self._kq.control(self._descriptors.kevents, MAX_EVENTS, timeout=timeout)
return self._kq.control(self._descriptors.kevents, MAX_EVENTS, timeout)

def queue_events(self, timeout: float) -> None:
"""Queues events by reading them from a call to the blocking
Expand Down
0