Antoine Pitrou added the comment:

> Antoine, can you please elaborate the rationale of your patch?

The patch adds SSL support for proactor-based event loops (any event loop 
supporting plain sockets, actually, so it could also work for libuv etc.).

> Is the "legacy" code only used on Python 3.4 and older? Is ssl.MemoryBIO 
> always present in Python 3.5 and newer?

Yes and yes.

> I would like to see benchmarks of memory BIO vs current code on Linux and 
> Windows.

Do you have such benchmarks?

> Maybe we may only use memory BIO for the proactor event loop?

It sounds better to exercise the same code path under all platforms.

> Did you try your patch on Python 3.3?

No.

> How will this patch help to support STARTTLS?

Guido explained this one :-)

----------

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

Reply via email to