We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2021-08-26.19:56:07.284> created_at = <Date 2020-05-15.17:02:26.737> labels = ['3.11', '3.9', '3.10', 'docs'] title = 'Documentation for socket.getfqdn incorrect?' updated_at = <Date 2021-08-26.19:56:07.283> user = 'https://github.com/cherdt'
bugs.python.org fields:
activity = <Date 2021-08-26.19:56:07.283> actor = 'lukasz.langa' assignee = 'docs@python' closed = True closed_date = <Date 2021-08-26.19:56:07.284> closer = 'lukasz.langa' components = ['Documentation'] creation = <Date 2020-05-15.17:02:26.737> creator = 'cherdt' dependencies = [] files = [] hgrepos = [] issue_num = 40635 keywords = ['patch'] message_count = 4.0 messages = ['368960', '400365', '400375', '400376'] nosy_count = 6.0 nosy_names = ['christian.heimes', 'docs@python', 'lukasz.langa', 'miss-islington', 'cherdt', 'andrei.avk'] pr_nums = ['27971', '27977', '27978'] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue40635' versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
The text was updated successfully, but these errors were encountered:
The documentation for socket.getfqdn() includes this info:
"In case no fully qualified domain name is available, the hostname as returned by gethostname() is returned."
However, that does not appear to be correct. To reproduce a case that exhibits contrary behavior:
>>> import socket >>> socket.getfqdn("test") 'test' >>> socket.gethostname() 'centos7minimal.osric.net'
Sorry, something went wrong.
New changeset fdcb675 by andrei kulakov in branch 'main': bpo-40635: Fix getfqdn() docstring and docs (GH-27971) fdcb675
New changeset 719af92 by Miss Islington (bot) in branch '3.10': bpo-40635: Fix getfqdn() docstring and docs (GH-27971) 719af92
New changeset f1e3fc4 by Miss Islington (bot) in branch '3.9': bpo-40635: Fix getfqdn() docstring and docs (GH-27971) f1e3fc4
No branches or pull requests
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: