Yury Selivanov added the comment:

> WRT boolean for SSL, I think it's very common for clients to verify server 
> certificates, but relatively uncommon for servers to require client 
> certificates.  The impression I have from reading docs and stack overflow 
> posts that the most common use case for the SSL module is connection to HTTPS 
> sites. For this use case, using a default context makes a lot of sense.

> It seems extremely unlikely to me for a server to use a default context.

I think in this case we should just mimic the API of create_server and 
create_unix_server.

As for restricting socket family type - I think Guido is right.  Although I'd 
love uvloop to be 100% compatible, I guess we shouldn't add artificial 
restrictions: if asyncio already supports AF_BLUETOOTH then let's keep it that 
way.

----------

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

Reply via email to