[issue9679] unicode DNS names in urllib, urlopen

Demian Brecht report at bugs.python.org
Fri Mar 13 23:27:27 CET 2015


Demian Brecht added the comment:

Here's a simple patch that adds functionality matching that in http.client to urllib.request. As pointed out by John, I see no reason why urllib and http.client shouldn't have consistent handling if IDNs independent of IRIs (although IRI encoding would be a nice addition as well).

----------
keywords: +patch
Added file: http://bugs.python.org/file38477/issue9679.patch

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


More information about the Python-bugs-list mailing list