• Christian Heimes's avatar
    bpo-24334: Cleanup SSLSocket (#5252) · 141c5e8c
    Christian Heimes yazdı
    * The SSLSocket is no longer implemented on top of SSLObject to
      avoid an extra level of indirection.
    * Owner and session are now handled in the internal constructor.
    * _ssl._SSLSocket now uses the same method names as SSLSocket and
      SSLObject.
    * Channel binding type check is now handled in C code. Channel binding
      is always available.
    
    The patch also changes the signature of SSLObject.__init__(). In my
    opinion it's fine. A SSLObject is not a user-constructable object.
    SSLContext.wrap_bio() is the only valid factory.
    141c5e8c
2018-01-20-23-17-25.bpo-24334.GZuQLv.rst 254 Bytes