Open 19c921a7-dd48-4090-ae91-b414ec163a87 opened 7 years ago
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at = None created_at =
labels = ['type-feature', '3.7', 'expert-IO']
title = 'Upgrade tuples in socket to named tuple like'
updated_at =
user = 'https://github.com/skinny121'
```
bugs.python.org fields:
```python
activity =
actor = 'python-dev'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['IO']
creation =
creator = 'Ben Lewis'
dependencies = []
files = []
hgrepos = []
issue_num = 30748
keywords = []
message_count = 1.0
messages = ['296792']
nosy_count = 1.0
nosy_names = ['Ben Lewis']
pr_nums = ['2390']
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue30748'
versions = ['Python 3.7']
```