[Python-Dev] RFC: Backport ssl.MemoryBIO and ssl.SSLObject to Python 2.7 (original) (raw)

Ben Darnell ben at bendarnell.com
Thu Jun 1 09:47:21 EDT 2017


Trying to transfer github comments from https://github.com/python/peps/pull/272#pullrequestreview-41388700:

I said:

Tornado has been doing TLS in an event-loop model in python 2.5+ with just wrap_socket, no MemoryBIO necessary. What am I missing? MemoryBIO certainly gives some extra flexibility, but nothing I can see that's strictly required for an HTTP client. (Maybe it comes up in some proxy scenarios that Tornado hasn't implemented?)

There were three main responses:



More information about the Python-Dev mailing list