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
c15b77d3
Commit
c15b77d3
authored
Dec 12, 2016
by
Jason Madden
Committed by
GitHub
Dec 12, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #907 from jeffwidman/fix-typo-silented
Fix typo: silented --> silenced
parents
87c94fa8
0ea12ce8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
changelog.rst
changelog.rst
+1
-1
src/gevent/_socket2.py
src/gevent/_socket2.py
+1
-1
src/gevent/_socket3.py
src/gevent/_socket3.py
+1
-1
No files found.
changelog.rst
View file @
c15b77d3
...
@@ -1518,7 +1518,7 @@ Miscellaneous:
...
@@ -1518,7 +1518,7 @@ Miscellaneous:
- Remove the code related to finding out libevent version from setup.py as macro ``USE_LIBEVENT_?`` is no longer needed to build ``gevent.core``.
- Remove the code related to finding out libevent version from setup.py as macro ``USE_LIBEVENT_?`` is no longer needed to build ``gevent.core``.
- Increased default backlog in all servers (from 5 to 256). Thanks to **Nicholas Piël**.
- Increased default backlog in all servers (from 5 to 256). Thanks to **Nicholas Piël**.
- Fixed doc/conf.py to work in Python older than 2.6. Thanks to **Örjan Persson**.
- Fixed doc/conf.py to work in Python older than 2.6. Thanks to **Örjan Persson**.
- Silen
t
ed SystemError raised in :mod:`backdoor` when a client typed ``quit()``.
- Silen
c
ed SystemError raised in :mod:`backdoor` when a client typed ``quit()``.
- If importing :mod:`greenlet` failed with ImportError, keep the original error message,
- If importing :mod:`greenlet` failed with ImportError, keep the original error message,
because sometimes the error originates in setuptools.
because sometimes the error originates in setuptools.
- Changed :func:`select.select` to return all the file descriptors signalled, not just the first one.
- Changed :func:`select.select` to return all the file descriptors signalled, not just the first one.
...
...
src/gevent/_socket2.py
View file @
c15b77d3
...
@@ -249,7 +249,7 @@ class socket(object):
...
@@ -249,7 +249,7 @@ class socket(object):
if
type
(
ex
)
is
error
:
# pylint:disable=unidiomatic-typecheck
if
type
(
ex
)
is
error
:
# pylint:disable=unidiomatic-typecheck
return
ex
.
args
[
0
]
return
ex
.
args
[
0
]
else
:
else
:
raise
# gaierror is not silen
t
ed by connect_ex
raise
# gaierror is not silen
c
ed by connect_ex
def
dup
(
self
):
def
dup
(
self
):
"""dup() -> socket object
"""dup() -> socket object
...
...
src/gevent/_socket3.py
View file @
c15b77d3
...
@@ -316,7 +316,7 @@ class socket(object):
...
@@ -316,7 +316,7 @@ class socket(object):
except
timeout
:
except
timeout
:
return
EAGAIN
return
EAGAIN
except
gaierror
:
except
gaierror
:
# gaierror/overflowerror/typerror is not silen
t
ed by connect_ex;
# gaierror/overflowerror/typerror is not silen
c
ed by connect_ex;
# gaierror extends OSError (aka error) so catch it first
# gaierror extends OSError (aka error) so catch it first
raise
raise
except
error
as
ex
:
except
error
as
ex
:
...
...
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