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

noreply@sourceforge.net noreply@sourceforge.net
Sun, 25 Aug 2002 09:32:18 -0700


Bugs item #599681, was opened at 2002-08-24 12: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: Closed
>Resolution: Fixed
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



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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2002-08-25 11:32

Message:
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.

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

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