[issue2550] SO_REUSEADDR doesn't have the same semantics on Windows as on Unix

Guido van Rossum report at bugs.python.org
Mon Apr 7 17:10:10 CEST 2008


Guido van Rossum <guido at python.org> added the comment:

I don't like that the patch changes the API of a function in
test_support() (in particular changing the return type; adding optional
arguments is not a problem).  This could trip up 3rd party users of this
API.  I recommend creating a new API bind_host_and_port() (or whatever
you'd like to name it) and implement the original API in terms of the
new one.  (You can even add a warning if you think the original API is
always unsafe.)

----------
nosy: +gvanrossum

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2550>
__________________________________


More information about the Python-bugs-list mailing list