Author vaizki
Recipients asvetlov, dacut, gvanrossum, njs, vaizki, yselivanov
Date 2019-11-19.09:07:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574154461.49.0.306070160446.issue37228@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-11-19 09:07:41vaizkisetrecipients: + vaizki, gvanrossum, njs, asvetlov, yselivanov, dacut
2019-11-19 09:07:41vaizkisetmessageid: <1574154461.49.0.306070160446.issue37228@roundup.psfhosted.org>
2019-11-19 09:07:41vaizkilinkissue37228 messages
2019-11-19 09:07:41vaizkicreate