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

V4.9.2 #482

Merged
merged 10 commits into from
Nov 3, 2024
Merged

V4.9.2 #482

merged 10 commits into from
Nov 3, 2024

Conversation

ikalchev
Copy link
Owner

@ikalchev ikalchev commented Nov 3, 2024

akx and others added 10 commits November 27, 2023 15:17
Late-import base36 and QR code libraries; remove SUPPORT_QR_CODE flag
This check was creating a lot of TimerHandles when the user
had multiple bridges. We do not need to check very often
as connections usually stay around for 24+hours
* Implement zerocopy writes for the encrypted protocol

With Python 3.12+ and later `transport.writelines` is implemented as [`sendmsg(..., IOV_MAX)`](python/cpython#91166) which allows us to avoid joining the bytes and sending them in one go.

Older Python will effectively do the same thing we do now `b"".join(...)`

* update tests
* Avoid os.chmod failing on Windows if file non-existant

* Update accessory_driver.py

---------

Co-authored-by: Ivan Kalchev <[email protected]>
* Address remaining pylint complaints

* Address remaining pylint complaints
@ikalchev
Copy link
Owner Author

ikalchev commented Nov 3, 2024

Forgot version bump, coming in a sec.

@ikalchev ikalchev merged commit 34c9659 into master Nov 3, 2024
3 of 24 checks passed
@bdraco
Copy link
Contributor

bdraco commented Nov 3, 2024

Thanks

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.

4 participants