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
0389a595
Commit
0389a595
authored
May 02, 2011
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core.loop: add properties WatcherType, MAXPRI, MINPRI
parent
44ba28cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
gevent/core_.pyx
gevent/core_.pyx
+15
-0
No files found.
gevent/core_.pyx
View file @
0389a595
...
@@ -261,6 +261,21 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
...
@@ -261,6 +261,21 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
def
__get__
(
self
):
def
__get__
(
self
):
return
<
size_t
>
self
.
_ptr
return
<
size_t
>
self
.
_ptr
property
WatcherType
:
def
__get__
(
self
):
return
watcher
property
MAXPRI
:
def
__get__
(
self
):
return
libev
.
EV_MAXPRI
property
MINPRI
:
def
__get__
(
self
):
return
libev
.
EV_MINPRI
cpdef
handle_error
(
self
,
where
,
type
,
value
,
tb
):
cpdef
handle_error
(
self
,
where
,
type
,
value
,
tb
):
cdef
object
handle_error
cdef
object
handle_error
cdef
object
error_handler
=
self
.
error_handler
cdef
object
error_handler
=
self
.
error_handler
...
...
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