problem with python binding?

Toby Smith thlsmith at
Mon May 24 07:11:12 PDT 2004

On Mon, 2004-05-24 at 23:36, John (J5) Palmieri wrote:
> What version of Pyrex are you using?  Also can you give me the lines
> surrounding line 412 in your
> /var/tmp/portage/dbus-cvs-0.21.99/work/dbus-cvs/python/dbus_bindings.pyx
> file.  That file is generated at compile time.

version 0.8.2

        if (address != None or _conn != None):
            self.__cinit__(c_address, c_conn)

    # hack to be able to pass in a c pointer to the constructor
    # while still alowing python programs to create a Connection object
--> cdef __cinit__(self, address, DBusConnection *_conn):
        cdef DBusError error
        if _conn != NULL:
            self.conn = _conn


More information about the dbus mailing list