[Python-bugs-list] [ python-Bugs-543318 ] SocketServer initializing outbound UDP

noreply@sourceforge.net noreply@sourceforge.net
Fri, 12 Apr 2002 21:52:58 -0700


Bugs item #543318, was opened at 2002-04-13 00:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=543318&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Frank J. Tobin (ftobin)
Assigned to: Nobody/Anonymous (nobody)
Summary: SocketServer initializing outbound UDP

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

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

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=543318&group_id=5470