Hi,

>> Don't hesitate to ask more info

OK then ;)

As soon as I do something like:

import gajim.idlequeue
gajim.idlequeue = idlequeue.IdleQueue()

then the atexit code gets registered like this:

import atexit
atexit.register(on_exit)

but I don't want this to happen. Is there another way of importing the
idlequeue or initialising it that doesn't trigger this event? Like I
said before, Python is reasonably new to me and I'm not totally sure I
understand the way packages and objects are referenced.

I was looking to build my code on top of gajim with no modifications -
if that turns out to be impossible due to it being too closely tied to
the interface I'll just write my own.

Cheers,

Phil Wilson
_______________________________________________
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Reply via email to