Switch _IntBase back to using generic alloc/free implementation rather than half...
[dbus-python-phuang.git] / dbus / dbus_bindings.py
bloba412f41634d5626de5369ef4d95ad49a38fe1415
1 # Backwards-compatibility with the old dbus_bindings.
3 from warnings import warn as _warn
4 from dbus._dbus import _dbus_bindings_warning
5 _warn(_dbus_bindings_warning, DeprecationWarning, stacklevel=2)
7 # Exceptions
8 from _dbus_bindings import DBusException
9 class ConnectionError(Exception): pass
11 # Types
12 from dbus.types import *
14 # Messages
15 from _dbus_bindings import Message, SignalMessage as Signal,\
16 MethodCallMessage as MethodCall,\
17 MethodReturnMessage as MethodReturn,\
18 ErrorMessage as Error
19 # MessageIter has gone away, thankfully
21 # Connection
22 from _dbus_bindings import Connection
24 from dbus import Bus
25 bus_request_name = Bus.request_name
26 bus_release_name = Bus.release_name