Yury Selivanov <yseliva...@gmail.com> added the comment: > I'm really not sure there's ANY call other than getsockaddr() that really > makes sense here, though, so perhaps it would be better to evolve the API in > AbstractServer into returning a list of sockaddr tuples rather than sockets.
Right, that's why uvloop exposes only SocketLike objects, that have getsockaddr() and getsockopt(), but raise when sock.send() is called. Maybe we'll do the same thing in asyncio. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25749> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com