python-dbus-next icon indicating copy to clipboard operation
python-dbus-next copied to clipboard

🚌 The next great DBus library for Python with asyncio support

Results 80 python-dbus-next issues
Sort by recently updated
recently updated
newest added

The exception classes derive directly from various python exceptions, rather than sharing a single dbus-next-specific superclass. Because of this, distinguishing dbus errors from other errors requires application code to wrap...

As per issue #137, sockets are not closed when the bus is disconnected. This results in users receiving warnings about unclosed sockets. This PR adds a call to the socket's...

I created several instances and got ResourceWarnings as follows: /usr/lib/python3.6/site-packages/dbus_next/introspection.py:172: ResourceWarning: unclosed Looking into the source code, it seems that there is no place that closes bus underlying sockets. There...

The [documentation](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-member) states the follow: > Strictly speaking, D-Bus property names are not required to follow the same naming restrictions as member names, but D-Bus property names that would not...

Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.12.5 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...

dependencies

I have a requirement to be able to set `MessageFlag.NO_REPLY_EXPECTED` on signals sent, because I have other processes on the same system that somewhat stupidly reply to my signals with...

The main change here is to make the `dbus_next.message.Message` object available through the context-local `current_message` proxy. In client code, the typical usage is: ``` from dbus_next.message_bus import current_message @method() def...

Rather than creating a map of `{value: enum}`, let's just use `Foo(value)` to resolve to the respective enum value. This fixes a regression with introspection introduced in commit 3282eed "Improve...

Commit "Improve unmarshall performance" (3282eed607cb7f9f64a3275d1f9155c0e65bd8f8) broke the introspection abilities. Trying to introspect now simply gives `Remote peer disconnected`. Can be reproduced with the example high level service from the [docs](https://python-dbus-next.readthedocs.io/en/latest/high-level-service/index.html)...

When using the `AuthExternal` Authenticator the uid can optionally be specified as either string or int. Defaults to the same behaviour as before: using the process's uid.