This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SocketServer initializing outbound UDP
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: ftobin, gvanrossum
Priority: normal Keywords:

Created on 2002-04-13 04:52 by ftobin, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg10305 - (view) Author: Frank Tobin (ftobin) Date: 2002-04-13 04:52
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()
msg10306 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-04-15 00:37
Logged In: YES 
user_id=6380

You are so right. Fixed in CVS, marked as bugfix candidate.
History
Date User Action Args
2022-04-10 16:05:12adminsetgithub: 36425
2002-04-13 04:52:57ftobincreate