Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
ce30ef06
Commit
ce30ef06
authored
Nov 30, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another unusued import [skip ci]
parent
9f1f8824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
gevent/_ssl3.py
gevent/_ssl3.py
+3
-5
No files found.
gevent/_ssl3.py
View file @
ce30ef06
...
...
@@ -430,11 +430,9 @@ class SSLSocket(socket):
# Python 3.2 onwards raise normal timeout errors, not SSLError.
# See https://bugs.python.org/issue10272
t
=
__import__
(
'socket'
).
timeout
_SSLErrorReadTimeout
=
t
(
'The read operation timed out'
)
_SSLErrorWriteTimeout
=
t
(
'The write operation timed out'
)
_SSLErrorHandshakeTimeout
=
t
(
'The handshake operation timed out'
)
del
t
_SSLErrorReadTimeout
=
_socket_timeout
(
'The read operation timed out'
)
_SSLErrorWriteTimeout
=
_socket_timeout
(
'The write operation timed out'
)
_SSLErrorHandshakeTimeout
=
_socket_timeout
(
'The handshake operation timed out'
)
def
wrap_socket
(
sock
,
keyfile
=
None
,
certfile
=
None
,
...
...
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