Amber Brown: Batteries Included, But They're Leaking

Chris Angelico rosuav at gmail.com
Sun May 19 17:48:10 EDT 2019


On Mon, May 20, 2019 at 7:38 AM Christian Heimes <christian at python.org> wrote:
>
> On 19/05/2019 22.48, Chris Angelico wrote:
> >> the sslmodule requires a monkeypatch to connect to non-ASCII domain names,
>
> It's not correct. There were some bugs in IDNA support in the SSL
> module. Nathaniel and I worked on the topic and fixed it in 3.7, see
> https://bugs.python.org/issue28414
>
> Python stdlib in general does not support some non-ASCII domain names
> (German, Greek, and some Asian languages), because there is no IDNA 2008
> encoding in the stdlib. The problem is not in the SSL module, but starts
> as low as host name encoding for DNS lookups. The solution here is to
> *add* more features to the stdlib, see
> https://bugs.python.org/issue17305
>

Thanks. And I agree; if there are limitations like this in the stdlib,
the stdlib needs to be fixed. That's not a leaking battery.

ChrisA



More information about the Python-list mailing list