Message368960
| Author |
cherdt |
| Recipients |
cherdt, docs@python |
| Date |
2020年05月15日.17:02:26 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1589562146.75.0.739099613667.issue40635@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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' |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年05月15日 17:02:26 | cherdt | set | recipients:
+ cherdt, docs@python |
| 2020年05月15日 17:02:26 | cherdt | set | messageid: <1589562146.75.0.739099613667.issue40635@roundup.psfhosted.org> |
| 2020年05月15日 17:02:26 | cherdt | link | issue40635 messages |
| 2020年05月15日 17:02:26 | cherdt | create |
|