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
e996abe3
Commit
e996abe3
authored
Jul 14, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greenlet.py: fix formatting
parent
55324132
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
gevent/greenlet.py
gevent/greenlet.py
+3
-1
No files found.
gevent/greenlet.py
View file @
e996abe3
...
...
@@ -3,6 +3,7 @@ import os
import
traceback
from
gevent
import
core
__all__
=
[
'getcurrent'
,
'TimeoutError'
,
'Timeout'
,
...
...
@@ -15,6 +16,7 @@ __all__ = ['getcurrent',
'with_timeout'
,
'fork'
]
try
:
from
py.magic
import
greenlet
Greenlet
=
greenlet
...
...
@@ -27,6 +29,7 @@ GreenletExit = greenlet.GreenletExit
MAIN
=
greenlet
.
getcurrent
()
_threadlocal
=
None
class
TimeoutError
(
Exception
):
"""Exception raised if an asynchronous operation times out"""
...
...
@@ -162,7 +165,6 @@ def signal(signalnum, handler, *args, **kwargs):
return
core
.
signal
(
signalnum
,
deliver_exception_to_MAIN
)
def
get_hub
():
global
_threadlocal
try
:
...
...
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