[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

Yury Selivanov report at bugs.python.org
Wed Nov 20 21:39:28 EST 2019


Yury Selivanov <yselivanov at gmail.com> added the comment:

> My preference for create_datagram_endpoint() would be:

> - make the "reuse_address" parameter a no-op, and raise an error when "reuse_address=True" is passed

> - do that in 3.8 as well

Yeah, I like this prposal; we can apply this to all Python's from 3.5 to 3.8.  With a proper documentation update this should be OK.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37228>
_______________________________________


More information about the Python-bugs-list mailing list