[docs] [issue5626] misleading comment in socket.gethostname() documentation

Chris Angelico report at bugs.python.org
Sun Mar 2 15:39:27 CET 2014


Chris Angelico added the comment:

Python doesn't currently have any sort of function for fetching all a computer's IPs, as far as I know, but if there is one (either now or in the future), it would be good to link to that from there. "Here's how to get your host name. And if you're interested, over there is how to get your IP addresses." Otherwise, removing the potentially-misleading information (this is going to return something in 127.0.0.0/8 for a lot of systems) seems the reasonable option.

----------
nosy: +Rosuav

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5626>
_______________________________________


More information about the docs mailing list