Opened 4 years ago
#6004 enhancement new
posixbase imports twisted.protocols.tls to figure out if it can use it
|Reported by:||itamar||Owned by:|
posixbase imports twisted.protocols.tls, thus making the reactor depend on many extra modules. It would be better not to do this import. When we drop support for older versions of pyOpenSSL, this import will always succeed if pyOpenSSL is present, so that should be better way to detect support for TLS.