On Mon, Jan 24, 2000 at 12:15:14PM +0100, Andreas Degert wrote:
> wrobell <[EMAIL PROTECTED]> writes:
> 
> [...]
> > 
> >  3) Hashable GtkObject?
> Some time ago I sent a patch to this list, along with the suggestion that
> i could send patches to make other objects hashable too, but there was no
> reaction. Also silence about 2 other patches (to get a permanent
> mapping between gtk widgets and python objects, and the other fixing
> python reference leaks -- which seem to be mostly fixed now by
> patches from others).

I couldn't find your hashable GtkObject patch on the list.  If you
could resend it, that'd be great.

If we make a permanent mapping between gtk widgets and python objects,
we're going to have to think very hard to make sure that we get the
memory management right.  As soon as your have circular references
things get messy.  That is, you'll have a PyObject referencing a
GtkObject, and when you set the PyObject as data for the GtkObject,
the GtkObject holds a reference on the PyObject.

Not something I want to think about for the next release. :)
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to