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 wrong about allow_reuse_add
Type: Stage:
Components: Documentation Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: doko, fdrake, rhettinger
Priority: normal Keywords:

Created on 2002-08-24 17:28 by doko, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg12156 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2002-08-24 17:28
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

msg12157 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2002-08-25 16:32
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.
History
Date User Action Args
2022-04-10 16:05:37adminsetgithub: 37083
2002-08-24 17:28:44dokocreate