Hi, Am Samstag, 17. Mai 2008 13:10:05 schrieb Duncan Webb: > Andreas Büsching wrote: > > What do you mean by a timeout socket? pynotifier supports several types > > of socket objects but not a function. If you would like to watch a > > socket, than use the socket object or the file descriptor. If you would > > like to get notified after an interval of time you should use a timer > > instead of a socket. > > I bodged a fix on the Amazon module and when I was reading the code it > imported a timeout socket from: > http://www.timo-tasi.org/python/timeoutsocket.py so I tried it and > didn't notice for a week that this cause a conflict with pynotifier.
Looks like the TimeoutSocket object has a member called _sock that seems to be a socket object, that you can pass to pynotifier. crunchy
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel