Issue1976
Created on 2012-10-16.10:39:22 by mahendar, last changed 2012-11-07.22:21:28 by amak.
msg7477 (view) |
Author: Mahendar (mahendar) |
Date: 2012-10-16.10:39:22 |
|
Hi,
Upon importing the socket module and trying to execute
socket.gethostbyname_ex(socket.getfqdn()), I'm getting the following error:
AttributeError: 'module' object has no attribute 'gethostbyname_ex'
The module does not seem to have this function, however the documentation has references to this function.
|
msg7478 (view) |
Author: Mahendar (mahendar) |
Date: 2012-10-16.10:41:17 |
|
Issue is also seen in 2.5.3rc1
|
msg7480 (view) |
Author: Alan Kennedy (amak) |
Date: 2012-10-19.19:20:52 |
|
Can I ask what you need this function call for?
As noted in the documentation, this call is deprecated, primarily because it does not support ipv6. The point of no return has already been passed for ipv4, ipv4 address exhaustion is a reality.
You're the first person who ever asked for this functionality. If you have good use case, I'll put in the work to support it.
Are you sure it's what you want?
|
msg7516 (view) |
Author: Alan Kennedy (amak) |
Date: 2012-11-07.22:21:26 |
|
No input from requester.
No point in implementing deprecated APIs.
Closing ticket.
|
|
Date |
User |
Action |
Args |
2012-11-07 22:21:28 | amak | set | status: open -> closed resolution: out of date messages:
+ msg7516 |
2012-10-19 19:20:53 | amak | set | assignee: amak messages:
+ msg7480 nosy:
+ amak |
2012-10-16 10:41:17 | mahendar | set | messages:
+ msg7478 |
2012-10-16 10:39:22 | mahendar | create | |
|