Skip to content

Conversation

@ikalchev
Copy link
Owner

No description provided.

akx and others added 15 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 <25887324+ikalchev@users.noreply.github.com>
* Address remaining pylint complaints

* Address remaining pylint complaints
* Modernize packaging

* Fix tests

* Update formatting with black 25.1.0

* Ignore flake8 error

* Remove deprecated html_theme_path option

* Only require async_timeout for Python<3.11
@ikalchev
Copy link
Owner Author

Oh man I have not done this in a long time...

@ikalchev ikalchev merged commit 5f77776 into master Aug 25, 2025
18 of 21 checks passed
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.

6 participants