New submission from Martin v. Löwis <mar...@v.loewis.de>:

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.

----------
messages: 118615
nosy: loewis
priority: normal
severity: normal
status: open
title: platform.uname gives UnicodeError for non-ASCII computer names on Windows
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to