You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The socket.gethostname documentation contains the following note:
"Note: gethostname() doesn't always return the fully qualified domain name; use gethostbyaddr(gethostname()) (see below)."
However, the socket.gethostbyaddr documentation contains the following piece of information:
"To find the fully qualified domain name, use the function getfqdn()."
I suggest that the note in socket.gethostname be changed to:
"Note: gethostname() doesn't always return the fully qualified domain name; use getfqdn() (see above)."
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: