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 loewis
Recipients loewis
Date 2010-10-14.06:10:09
SpamBayes Score 0.0026828528
Marked as misclassified No
Message-id <1287036613.43.0.313046805894.issue10097@psf.upfronthosting.co.za>
In-reply-to
Content
Reportedly, platform.uname gives UnicodeError for non-ASCII computer names on Windows, see http://www.pasteall.org/16215

I think it is incorrect that _node uses socket.gethostname on Windows. uname() should return the local hostname (i.e. the one that the system itself believes to have), independent of the network configuration or DNS.

Therefore, I think it should return the COMPUTERNAME environment variable, or the result of the GetComputerName() API.
History
Date User Action Args
2010-10-14 06:10:13loewissetrecipients: + loewis
2010-10-14 06:10:13loewissetmessageid: <1287036613.43.0.313046805894.issue10097@psf.upfronthosting.co.za>
2010-10-14 06:10:10loewislinkissue10097 messages
2010-10-14 06:10:09loewiscreate