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
79549467
Commit
79549467
authored
Aug 29, 2011
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve a comment
parent
25996fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gevent/greenlet.py
gevent/greenlet.py
+3
-3
No files found.
gevent/greenlet.py
View file @
79549467
...
...
@@ -219,10 +219,10 @@ class Greenlet(greenlet):
greenlet
.
throw
(
self
,
*
args
)
finally
:
if
self
.
_exception
is
_NONE
and
self
.
dead
:
# the greenlet was n
ot started yet, so _report_error was not called, so
# the greenlet was n
ever switched to before and it will never be, _report_error was not called
# the result was not set and the links weren't notified. let's do it here.
# checking that self.dead is true is essential, because th
e exception raised by
#
throw() could have been cancelled by the greenlet's function
.
# checking that self.dead is true is essential, because th
row() does not necessarily kill the greenlet
#
(if the exception raised by throw() is caught somewhere inside the greenlet)
.
if
len
(
args
)
==
1
:
arg
=
args
[
0
]
#if isinstance(arg, type):
...
...
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