socket gethostbyaddr returns IPv6 names for 127.0.0.1
Open
Nobody has claimed this yet.
stdlib
topic-socket
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 28431 |
|---|---|
| Nosy | @bitdancer, @carbonin |
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:
assignee = None
closed_at = None
created_at = <Date 2016-10-13.15:12:28.678>
labels = ['type-bug']
title = 'socket gethostbyaddr returns IPv6 names for 127.0.0.1'
updated_at = <Date 2016-10-13.15:24:53.526>
user = 'https://github.com/carbonin'
bugs.python.org fields:
activity = <Date 2016-10-13.15:24:53.526>
actor = 'r.david.murray'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2016-10-13.15:12:28.678>
creator = 'carbonin'
dependencies = []
files = []
hgrepos = []
issue_num = 28431
keywords = []
message_count = 2.0
messages = ['278580', '278582']
nosy_count = 2.0
nosy_names = ['r.david.murray', 'carbonin']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue28431'
versions = ['Python 2.7', 'Python 3.4']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the socket.gethostbyaddr entry point and reproduce the reported result for 127.0.0.1, comparing IPv4 and IPv6 name resolution. Identify the relevant socket tests or platform-specific behavior, then add a regression test and confirm that the returned name matches the intended address family.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100