Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8b87b25d
Commit
8b87b25d
authored
Aug 29, 2007
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Found a different, more direct way to disable ssl support until it's fixed.
parent
c5c5900b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
Lib/socket.py
Lib/socket.py
+6
-6
Lib/ssl.py
Lib/ssl.py
+2
-0
Lib/test/test_socket_ssl.py
Lib/test/test_socket_ssl.py
+0
-2
Lib/test/test_ssl.py
Lib/test/test_ssl.py
+0
-2
No files found.
Lib/socket.py
View file @
8b87b25d
...
...
@@ -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
...
...
Lib/ssl.py
View file @
8b87b25d
# Wrapper module for _ssl, providing some additional facilities
# implemented in Python. Written by Bill Janssen.
raise
ImportError
(
"ssl.py is temporarily out of order"
)
"""
\
This module provides some more Pythonic support for SSL.
...
...
Lib/test/test_socket_ssl.py
View file @
8b87b25d
...
...
@@ -210,8 +210,6 @@ def test_main():
if
not
hasattr
(
socket
,
"ssl"
):
raise
test_support
.
TestSkipped
(
"socket module has no ssl support"
)
raise
test_support
.
TestSkipped
(
"Disabling this until ssl.py is fixed"
)
tests
=
[
BasicTests
]
if
test_support
.
is_resource_enabled
(
'network'
):
...
...
Lib/test/test_ssl.py
View file @
8b87b25d
...
...
@@ -338,8 +338,6 @@ def test_main(verbose=False):
if
skip_expected
:
raise
test_support
.
TestSkipped
(
"socket module has no ssl support"
)
raise
test_support
.
TestSkipped
(
"Disabling this until ssl.py is fixed"
)
global
CERTFILE
CERTFILE
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
)
or
os
.
curdir
,
"keycert.pem"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment