New submission from Ben Lewis: Within the socket module, there are various tuples that are used for different representations of a socket address. There are also other tuples returned by other functions in the socket module.
As suggested on Python-ideas(https://mail.python.org/pipermail/python-ideas/2017-June/046028.html) and supported by Guido(https://mail.python.org/pipermail/python-ideas/2017-June/046086.html) these tuples should be made into named-tuple like sequences akin to the time tuple in the datetime module. I am willing to help contribute to make this happen. ---------- components: IO messages: 296792 nosy: Ben Lewis priority: normal severity: normal status: open title: Upgrade tuples in socket to named tuple like type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30748> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com