Jukka Väisänen <vai...@vaizki.fi> added the comment:

I had a quick search through github for calls to create_datagram_endpoint() and 
the reuse_address is either not set or set explicitly to True, probably due to 
the error in the documentation.

Only in one case (of my admittedly small sample) did it seem like the parameter 
was set to True intentionally to get the behavior of binding multiple processes 
to the same port.

Due to the nature of the function, it is also often buried inside packages 
implementing higher level protocols (SIP, STUN, DNS, RTP) which want to create 
a convenience function to create asyncio servers and clients.

The deprecation warning and getting it into 3.6 and later sounds very 
reasonable to me.

----------

_______________________________________
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