Message75476
The docs say:
Return a string containing the hostname of the machine where the Python
interpreter is currently executing. If you want to know the current
machine's IP address, you may want to use gethostbyname(gethostname()).
This operation assumes...
It is not clear what the referent of "This" is. Are you saying that
gethostname() itself makes that assumption, or the use of gethostbyname()
to turn what gethostname() returns into an address makes that assumption?
I think it's the latter, but the sentence should be reworded to make it
clear. |
|
Date |
User |
Action |
Args |
2008-11-03 19:46:40 | roysmith | set | recipients:
+ roysmith, georg.brandl |
2008-11-03 19:46:40 | roysmith | set | messageid: <1225741600.75.0.864264407654.issue4257@psf.upfronthosting.co.za> |
2008-11-03 19:46:40 | roysmith | link | issue4257 messages |
2008-11-03 19:46:39 | roysmith | create | |
|