Commit 0389a595 authored by Denis Bilenko's avatar Denis Bilenko

core.loop: add properties WatcherType, MAXPRI, MINPRI

parent 44ba28cf
......@@ -261,6 +261,21 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
def __get__(self):
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):
cdef object handle_error
cdef object error_handler = self.error_handler
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment