[Python-bugs-list] [ python-Bugs-543318 ] SocketServer initializing outbound UDP
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 14 Apr 2002 17:37:35 -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: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Frank J. Tobin (ftobin)
>Assigned to: Guido van Rossum (gvanrossum)
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()
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-04-14 20:37
Message:
Logged In: YES
user_id=6380
You are so right. Fixed in CVS, marked as bugfix candidate.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=543318&group_id=5470