Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with socket.gethostname documentation #44257

Closed
maltehelmert mannequin opened this issue Nov 20, 2006 · 2 comments
Closed

problem with socket.gethostname documentation #44257

maltehelmert mannequin opened this issue Nov 20, 2006 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@maltehelmert
Copy link
Mannequin

maltehelmert mannequin commented Nov 20, 2006

BPO 1599879

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 = <Date 2006-11-21.06:25:59.000>
created_at = <Date 2006-11-20.18:10:25.000>
labels = ['docs']
title = 'problem with socket.gethostname documentation'
updated_at = <Date 2006-11-21.06:25:59.000>
user = 'https://bugs.python.org/maltehelmert'

bugs.python.org fields:

activity = <Date 2006-11-21.06:25:59.000>
actor = 'nnorwitz'
assignee = 'nnorwitz'
closed = True
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2006-11-20.18:10:25.000>
creator = 'maltehelmert'
dependencies = []
files = []
hgrepos = []
issue_num = 1599879
keywords = []
message_count = 2.0
messages = ['30634', '30635']
nosy_count = 2.0
nosy_names = ['nnorwitz', 'maltehelmert']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1599879'
versions = []

@maltehelmert
Copy link
Mannequin Author

maltehelmert mannequin commented Nov 20, 2006

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)."

@maltehelmert maltehelmert mannequin closed this as completed Nov 20, 2006
@maltehelmert maltehelmert mannequin assigned nnorwitz Nov 20, 2006
@maltehelmert maltehelmert mannequin added the docs Documentation in the Doc dir label Nov 20, 2006
@maltehelmert maltehelmert mannequin closed this as completed Nov 20, 2006
@maltehelmert maltehelmert mannequin assigned nnorwitz Nov 20, 2006
@maltehelmert maltehelmert mannequin added the docs Documentation in the Doc dir label Nov 20, 2006
@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Nov 21, 2006

Good catch! Thanks.

Committed revision 52815. (2.6)
Committed revision 52816. (2.5)
(Probably affects all version back to 2.0 or so.)

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

0 participants