Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SocketServer initializing outbound UDP #36425

Closed
ftobin mannequin opened this issue Apr 13, 2002 · 2 comments
Closed

SocketServer initializing outbound UDP #36425

ftobin mannequin opened this issue Apr 13, 2002 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@ftobin
Copy link
Mannequin

ftobin mannequin commented Apr 13, 2002

BPO 543318
Nosy @gvanrossum

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/gvanrossum'
closed_at = <Date 2002-04-15.00:37:35.000>
created_at = <Date 2002-04-13.04:52:57.000>
labels = ['library']
title = 'SocketServer initializing outbound UDP'
updated_at = <Date 2002-04-15.00:37:35.000>
user = 'https://bugs.python.org/ftobin'

bugs.python.org fields:

activity = <Date 2002-04-15.00:37:35.000>
actor = 'gvanrossum'
assignee = 'gvanrossum'
closed = True
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2002-04-13.04:52:57.000>
creator = 'ftobin'
dependencies = []
files = []
hgrepos = []
issue_num = 543318
keywords = []
message_count = 2.0
messages = ['10305', '10306']
nosy_count = 2.0
nosy_names = ['gvanrossum', 'ftobin']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue543318'
versions = []

@ftobin
Copy link
Mannequin Author

ftobin mannequin commented Apr 13, 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 wantsto start off with a 'clean' packet.
Should this not rather be:
self.wfile = StringIO.StringIO()

@ftobin ftobin mannequin closed this as completed Apr 13, 2002
@ftobin ftobin mannequin assigned gvanrossum Apr 13, 2002
@ftobin ftobin mannequin added the stdlib Python modules in the Lib dir label Apr 13, 2002
@ftobin ftobin mannequin closed this as completed Apr 13, 2002
@ftobin ftobin mannequin assigned gvanrossum Apr 13, 2002
@ftobin ftobin mannequin added the stdlib Python modules in the Lib dir label Apr 13, 2002
@gvanrossum
Copy link
Member

Logged In: YES
user_id=6380

You are so right. Fixed in CVS, marked as bugfix candidate.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant