SocketServer.DatagramRequestHandler.setup bug?

Frank Tobin ftobin at neverending.org
Thu Apr 11 01:39:59 EDT 2002


In SocketServer.DatagramRequestHandler.setup, it calls:
        self.wfile = StringIO.StringIO(self.packet)

It doesn't make sense to initialize wfile to anything; one probably wants
to start off with a 'clean' packet.  Should this not rather be:
        self.wfile = StringIO.StringIO('')

?

-- 
Frank Tobin		http://www.neverending.org/~ftobin/




More information about the Python-list mailing list