Bluetooth-Devices
dbus-fast
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(pre-commit.ci): pre-commit autoupdate (#496)
main
6 hours ago
chore(pre-commit.ci): pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.10 → v0.12.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.10...v0.12.11)
pre-commit-ci-update-config
7 hours ago
chore: alternative name owner tracking defeat to appease Cython Cython demands that a dict-typed object really be a dict and not a subclass, presumably because it wants to shortcut the virtual dispatch and implement all the methods in native code. Thus, my first attempt at defeating the name owner tracking in MessageBus was a non-starter. This commit switches to a different strategy: pre-filling the mapping so that get_interface() won't try to shoot off a GetNameOwner call to the bus.
whitslack:fix-get_children
5 days ago
chore: fix introspection test on 3.9
whitslack:fix-get_children
5 days ago
chore: small fixes for python 3.9
whitslack:fix-get_children
5 days ago
chore(pre-commit.ci): pre-commit autoupdate (#492) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
main
5 days ago
chore(pre-commit.ci): auto fixes
whitslack:fix-get_children
5 days ago
BaseProxyObject: lazily introspect children as needed The D-Bus specification says: “If a child <node> has any sub-elements, then they must represent a complete introspection of the child. If a child <node> is empty, then it may or may not have sub-elements; the child must be introspected in order to find out. The intent is that if an object knows that its children are "fast" to introspect it can go ahead and return their information, but otherwise it can omit it.” However, BaseProxyObject.get_children() has been assuming that all child <node> elements provide a complete introspection of their corresponding child objects. This causes child objects to appear to have no interfaces or children of their own, even when they in fact do. To implement the spec, replace BaseProxyObject.introspection with a lazily-computed property whose value is initialized as the intr.Node passed to the BaseProxyObject constructor (or parsed by it), if one was specified, or is otherwise computed upon first use by introspecting the child object (synchronously). The synchronous introspection required pulling the introspect_sync method up from glib.MessageBus into BaseMessageBus as an abstract method and then implementing it in aio.MessageBus by using asyncio.loop.run_until_complete(…).
whitslack:fix-get_children
5 days ago
Active Branches
fix: construct child proxy objects using correct paths and introspection
last run
5 days ago
#495
CodSpeed Performance Gauge
0%
fix(message_bus): prevent socket leak on connection error
last run
9 days ago
#491
CodSpeed Performance Gauge
-1%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs