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 wrong about allow_reuse_add #37083

Closed
doko42 opened this issue Aug 24, 2002 · 2 comments
Closed

SocketServer wrong about allow_reuse_add #37083

doko42 opened this issue Aug 24, 2002 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@doko42
Copy link
Member

doko42 commented Aug 24, 2002

BPO 599681
Nosy @freddrake, @rhettinger, @doko42

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/freddrake'
closed_at = <Date 2002-08-25.16:32:18.000>
created_at = <Date 2002-08-24.17:28:44.000>
labels = ['docs']
title = 'SocketServer wrong about allow_reuse_add'
updated_at = <Date 2002-08-25.16:32:18.000>
user = 'https://github.com/doko42'

bugs.python.org fields:

activity = <Date 2002-08-25.16:32:18.000>
actor = 'rhettinger'
assignee = 'fdrake'
closed = True
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2002-08-24.17:28:44.000>
creator = 'doko'
dependencies = []
files = []
hgrepos = []
issue_num = 599681
keywords = []
message_count = 2.0
messages = ['12156', '12157']
nosy_count = 3.0
nosy_names = ['fdrake', 'rhettinger', 'doko']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue599681'
versions = ['Python 2.2']

@doko42
Copy link
Member Author

doko42 commented Aug 24, 2002

the docs for SocketServer document:

The server classes support the following class variables:

allow_reuse_address
Whether the server will allow the reuse of an address.
This defaults to
true, and can be set in subclasses to change the policy.

But clearly, it does not default to true:

poseidon:[/usr/lib] grep allow_reuse_address
python2.?/SocketServer.py
python2.1/SocketServer.py: allow_reuse_address = 0
python2.1/SocketServer.py: if
self.allow_reuse_address:
python2.1/SocketServer.py: allow_reuse_address = 0
python2.2/SocketServer.py: allow_reuse_address = 0
python2.2/SocketServer.py: if
self.allow_reuse_address:
python2.2/SocketServer.py: allow_reuse_address = 0

@doko42 doko42 closed this as completed Aug 24, 2002
@doko42 doko42 added the docs Documentation in the Doc dir label Aug 24, 2002
@doko42 doko42 closed this as completed Aug 24, 2002
@doko42 doko42 added the docs Documentation in the Doc dir label Aug 24, 2002
@rhettinger
Copy link
Contributor

Logged In: YES
user_id=80475

Thanks for the bug report.

Docs fixed-up. See: libsocksvr.tex 1.15 and 1.14.22.1

Closing bug report.

@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
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

3 participants