Amber Brown: Batteries Included, But They're Leaking

Christian Heimes christian at
Sun May 19 17:34:30 EDT 2019

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

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

By the way, I'm working on removing some dead battieres since last year,
see proto PEP and LWN


More information about the Python-list mailing list