[Python-modules-team] Bug#896343: Bug#896281: python-networkmanager: NetworkManager fails to import

W. Martin Borgert debacle at debian.org
Fri May 4 16:34:27 BST 2018


NetworkManager.py says:

# We completely dynamically generate all classes using introspection data. As
# this is done at import time, use a special dbus connection that does not get
# in the way of setting a mainloop and doing async stuff later.
init_bus = dbus.SystemBus(private=True)

Maybe better have a module init function, that should be called
by the user of the library after import?



More information about the Python-modules-team mailing list