On Tue, 2008-02-05 at 14:25 +0100, Dirk Meyer wrote:
> Log:
> use fileno() in case self._socket will be changed to a non socket object

Seems to me the best way is to have SocketDispatcher.register() check to
see if the object has a fileno() method, and if so, use that, otherwise
if it's a numeric type, use that, otherwise raise an exception.



-------------------------------------------------------------------------
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

Reply via email to