
Hi scaven, On Mon, Feb 14, 2011 at 15:31, scaven <scaven@bk.ru> wrote:
Hello Could you please make a little change in Library Reference, asyncore module http://docs.python.org/library/asyncore.html#asyncore-example-basic-echo-ser...
change self.send(data)
to if data!='': self.send(data)
this will prevent error messages about sending to a closed client socket
I'm a bit unsure about this change: what's the exact problem you're trying to fix? That is an example, and one of the virtue an example has to have is the simplicity and compactness while showing the concept if wants to explain, so you have to convince us this change is worth. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi