Match the 'socket' module
Bug #244705 reported by
Damien Thébault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libasyncns-python |
Fix Released
|
High
|
Damien Thébault |
Bug Description
Syntax and return values should match the ones from the 'socket' module.
Quoting the python documentation [1]:
"getaddrinfo(host, port[, family[, socktype[, proto[, flags]]]])
[...] The getaddrinfo() function returns a list of 5-tuples with the following structure:
(family, socktype, proto, canonname, sockaddr) [...]"
"getnameinfo(
Translate a socket address sockaddr into a 2-tuple (host, port). [...]"
Related branches
Changed in libasyncns-python: | |
importance: | Undecided → High |
Changed in libasyncns-python: | |
assignee: | nobody → damien-thebault |
status: | New → Fix Committed |
Changed in libasyncns-python: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.