[New-bugs-announce] [issue10223] socket.gethostname() fail

EcmaXp report at bugs.python.org
Fri Oct 29 00:13:09 CEST 2010


New submission from EcmaXp <admin at ecmaxp.pe.kr>:

C:\Users\PC-\Desktop>c:\python31\python
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on
win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import socket
>>> socket.gethostname()
Traceback (most recent call last):
  File “<stdin>”, line 1, in <module>
UnicodeDecodeError: ‘utf8’ codec can’t decode bytes in position 0-1: invalid data
>>>

socket.gethostname() fail when system name is korean on Window Vista

[...

----------
components: Library (Lib)
messages: 119818
nosy: EcmaXp
priority: normal
severity: normal
status: open
title: socket.gethostname() fail
type: crash
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10223>
_______________________________________


More information about the New-bugs-announce mailing list