Author gvanrossum
Recipients asvetlov, gvanrossum, njs, vaizki, yselivanov
Date 2019-11-18.20:59:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574110747.72.0.101786758315.issue37228@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-11-18 20:59:07gvanrossumsetrecipients: + gvanrossum, njs, asvetlov, yselivanov, vaizki
2019-11-18 20:59:07gvanrossumsetmessageid: <1574110747.72.0.101786758315.issue37228@roundup.psfhosted.org>
2019-11-18 20:59:07gvanrossumlinkissue37228 messages
2019-11-18 20:59:07gvanrossumcreate