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 ned.deily
Recipients lemburg, loewis, ned.deily
Date 2010-10-14.18:14:11
SpamBayes Score 0.0008975434
Marked as misclassified No
Message-id <1287080052.91.0.813293888215.issue10097@psf.upfronthosting.co.za>
In-reply-to
Content
>It's incorrect to use DNS names when implementing platform.uname():
>on POSIX, uname() *also* does not return the DNS name. If you want
>some API to return the DNS name of the computer, you need a different
>function (e.g. socket.getfqdn()).

Even more importantly, the computer may have (and these days, usually has) more than one network interface and/or multiple IP addresses bound to a single interface.  Each IP address usually has a unique DNS name, but not necessarily.  In general, there can be no one-to-one mapping of platform name to DNS name.
History
Date User Action Args
2010-10-14 18:14:13ned.deilysetrecipients: + ned.deily, lemburg, loewis
2010-10-14 18:14:12ned.deilysetmessageid: <1287080052.91.0.813293888215.issue10097@psf.upfronthosting.co.za>
2010-10-14 18:14:11ned.deilylinkissue10097 messages
2010-10-14 18:14:11ned.deilycreate