Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
I mean if we implement something like PathLike [1] but for IP addresses to socket module and teach all socket APIs to accept IPLike objects along with str -- no asyncio change is required. 1. https://docs.python.org/3/library/os.html#os.PathLike ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com