Message356909
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. |
|
Date |
User |
Action |
Args |
2019-11-18 20:59:07 | gvanrossum | set | recipients:
+ gvanrossum, njs, asvetlov, yselivanov, vaizki |
2019-11-18 20:59:07 | gvanrossum | set | messageid: <1574110747.72.0.101786758315.issue37228@roundup.psfhosted.org> |
2019-11-18 20:59:07 | gvanrossum | link | issue37228 messages |
2019-11-18 20:59:07 | gvanrossum | create | |
|