Message 400726 - Python tracker
> The state doesn't have a refcount, but it is owned by a module object, so callback_context should own a reference to the module object. Would it be sufficient to hold a reference to the connection object? The connection holds a reference to the connection type, and the connection type holds a reference to the module, right?