socket.error __del__

Nigel Moriarty nw_moriarty at yahoo.com
Thu Nov 14 19:34:01 EST 2002


I'm using a TCP threading socket server and I get this error

Exception socket.error: (10054, 'Connect reset by peer') in <bound
method _fileobject.__del__ of <socket._fileobject instance at
0x0089CED8>> ignored

The program continues (I think because of the threading server) but it
would be wonderful if I could stop this error being printed (without
redirecting stdout as I'm doing other things with that).

Nigel



More information about the Python-list mailing list