This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roysmith
Recipients georg.brandl, roysmith
Date 2008-11-03.19:46:39
SpamBayes Score 1.3641815e-07
Marked as misclassified No
Message-id <1225741600.75.0.864264407654.issue4257@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-03 19:46:40roysmithsetrecipients: + roysmith, georg.brandl
2008-11-03 19:46:40roysmithsetmessageid: <1225741600.75.0.864264407654.issue4257@psf.upfronthosting.co.za>
2008-11-03 19:46:40roysmithlinkissue4257 messages
2008-11-03 19:46:39roysmithcreate