STINNER Victor added the comment:

> Oh, sorry. The patch applies without any problem, then I re-compile 
> everything and run, and the same error happens. I re-compiled just now to 
> make double sure.

I tested my patch on Windows. I called my computer héça (3 non-ASCII letters!). 
Without the patch, I get the UTF-8 decoding error, as expected. With the patch, 
it gets the nice "héça" Unicode string, correctly decoded. I tested 
socket.getfqdn().

My patch will not fix all your issues at once :-) In the issue #26226, I saw at 
least 3 different bugs. But I'm now sure that my patch fixes a real bug, so I 
pushed it to Python 3.5 and default (3.6).

Thanks for the bug report Emanuel ;-)

----------
resolution:  -> fixed
status: open -> closed

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

Reply via email to