mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
Found a different, more direct way to disable ssl support until it's fixed.
This commit is contained in:
parent
1b81e7bea5
commit
245b42ec4b
4 changed files with 8 additions and 10 deletions
|
@ -47,12 +47,12 @@ import _socket
|
|||
from _socket import *
|
||||
|
||||
_have_ssl = False
|
||||
try:
|
||||
import _ssl
|
||||
from _ssl import *
|
||||
_have_ssl = True
|
||||
except ImportError:
|
||||
pass
|
||||
## try:
|
||||
## import _ssl
|
||||
## from _ssl import *
|
||||
## _have_ssl = True
|
||||
## except ImportError:
|
||||
## pass
|
||||
|
||||
import os, sys, io
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue