This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Upgrade tuples in socket to named tuple like
Type: enhancement Stage:
Components: IO Versions: Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Ben Lewis
Priority: normal Keywords:

Created on 2017-06-24 22:33 by Ben Lewis, last changed 2022-04-11 14:58 by admin.

Pull Requests
URL Status Linked Edit
PR 2390 closed python-dev, 2017-06-25 04:19
Messages (1)
msg296792 - (view) Author: Ben Lewis (Ben Lewis) * Date: 2017-06-24 22:33
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( and supported by Guido( 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.
Date User Action Args
2022-04-11 14:58:48adminsetgithub: 74933
2017-06-25 04:19:16python-devsetpull_requests: + pull_request2436
2017-06-24 22:33:37Ben Lewiscreate