[Python-bugs-list] [ python-Bugs-599681 ] SocketServer wrong about allow_reuse_add

noreply@sourceforge.net noreply@sourceforge.net
Sat, 24 Aug 2002 10:28:44 -0700


Bugs item #599681, was opened at 2002-08-24 17:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=599681&group_id=5470

Category: Documentation
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: SocketServer wrong about allow_reuse_add

Initial Comment:
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



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=599681&group_id=5470