Guido van Rossum <gu...@python.org> added the comment:

I agree that this is a bad default (and whoever wrote it, probably me, didn't 
know what this does for UDP).  I think the right solution is to change the 
default, not to introduce a new method.

Maybe we can deprecate the default somehow? There currently is a line the 
computes the default based on platform:

            if reuse_address is None:
                reuse_address = os.name == 'posix' and sys.platform != 'cygwin'


We could change this to issue a deprecation warning stating that in the future 
the default will change to False everywhere. Then in the next release we could 
change the default to False and remove the warning.

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

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37228>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to