Commit e6e62cf3 authored by junnplus's avatar junnplus

remove unused

parent 38d40e2b
...@@ -407,7 +407,6 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]: ...@@ -407,7 +407,6 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
0.0, 0.0) 0.0, 0.0)
cdef unsigned int c_flags cdef unsigned int c_flags
cdef object old_handler = None
if ptr: if ptr:
self._ptr = <libev.ev_loop*>ptr self._ptr = <libev.ev_loop*>ptr
self._default = libev.ev_is_default_loop(self._ptr) self._default = libev.ev_is_default_loop(self._ptr)
...@@ -697,10 +696,6 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]: ...@@ -697,10 +696,6 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
cdef str msg = '' cdef str msg = ''
cdef object fileno = self.fileno() cdef object fileno = self.fileno()
cdef object activecnt = None cdef object activecnt = None
try:
sigfd = self.sigfd
except AttributeError:
sigfd = None
try: try:
activecnt = self.activecnt activecnt = self.activecnt
except AttributeError: except AttributeError:
...@@ -1315,7 +1310,6 @@ cdef public void gevent_handle_error(loop loop, object context): ...@@ -1315,7 +1310,6 @@ cdef public void gevent_handle_error(loop loop, object context):
cdef object type cdef object type
cdef object value = None cdef object value = None
cdef object traceback = None cdef object traceback = None
cdef object result
# If it was set, this will clear it, and we will own # If it was set, this will clear it, and we will own
# the references. # the references.
......
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