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 vstinner
Recipients abarry, eryksun, ezio.melotti, paul.moore, python-dev, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-01-28.14:48:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453992497.62.0.624270682252.issue26227@psf.upfronthosting.co.za>
In-reply-to
Content
> 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 ;-)
History
Date User Action Args
2016-01-28 14:48:17vstinnersetrecipients: + vstinner, paul.moore, tim.golden, ezio.melotti, python-dev, zach.ware, serhiy.storchaka, eryksun, steve.dower, abarry
2016-01-28 14:48:17vstinnersetmessageid: <1453992497.62.0.624270682252.issue26227@psf.upfronthosting.co.za>
2016-01-28 14:48:17vstinnerlinkissue26227 messages
2016-01-28 14:48:17vstinnercreate