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
7e11a123
Commit
7e11a123
authored
Mar 21, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test__all__ but still have nice docs.
parent
fd493b81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
gevent/_ssl2.py
gevent/_ssl2.py
+3
-2
gevent/_ssl3.py
gevent/_ssl3.py
+3
-1
gevent/_sslgte279.py
gevent/_sslgte279.py
+3
-1
No files found.
gevent/_ssl2.py
View file @
7e11a123
...
...
@@ -34,13 +34,14 @@ __implements__ = ['SSLSocket',
# and "private" symbols.
__imports__
=
copy_globals
(
__ssl__
,
globals
(),
# SSLSocket *must* subclass gevent.socket.socket; see issue 597
names_to_ignore
=
__implements__
+
[
'socket'
,
'namedtuple'
],
names_to_ignore
=
__implements__
+
[
'socket'
],
dunder_names_to_keep
=
())
# Py2.6 can get RAND_status added twice
__all__
=
list
(
set
(
__implements__
)
|
set
(
__imports__
))
if
'namedtuple'
in
__all__
:
__all__
.
remove
(
'namedtuple'
)
class
SSLSocket
(
socket
):
"""
...
...
gevent/_ssl3.py
View file @
7e11a123
...
...
@@ -33,10 +33,12 @@ __implements__ = [
# and "private" symbols.
__imports__
=
copy_globals
(
__ssl__
,
globals
(),
# SSLSocket *must* subclass gevent.socket.socket; see issue 597
names_to_ignore
=
__implements__
+
[
'socket'
,
'namedtuple'
],
names_to_ignore
=
__implements__
+
[
'socket'
],
dunder_names_to_keep
=
())
__all__
=
__implements__
+
__imports__
if
'namedtuple'
in
__all__
:
__all__
.
remove
(
'namedtuple'
)
orig_SSLContext
=
__ssl__
.
SSLContext
# pylint:disable=no-member
...
...
gevent/_sslgte279.py
View file @
7e11a123
...
...
@@ -40,7 +40,7 @@ __implements__ = [
# and "private" symbols.
__imports__
=
copy_globals
(
__ssl__
,
globals
(),
# SSLSocket *must* subclass gevent.socket.socket; see issue 597
names_to_ignore
=
__implements__
+
[
'socket'
,
'namedtuple'
],
names_to_ignore
=
__implements__
+
[
'socket'
],
dunder_names_to_keep
=
())
try
:
...
...
@@ -49,6 +49,8 @@ except NameError: # PyPy doesn't expose this detail
_delegate_methods
=
(
'recv'
,
'recvfrom'
,
'recv_into'
,
'recvfrom_into'
,
'send'
,
'sendto'
)
__all__
=
__implements__
+
__imports__
if
'namedtuple'
in
__all__
:
__all__
.
remove
(
'namedtuple'
)
orig_SSLContext
=
__ssl__
.
SSLContext
# pylint: disable=no-member
...
...
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