Skip to content

Commit

Permalink
Merge 5ae7a56 into d573388
Browse files Browse the repository at this point in the history
  • Loading branch information
junnplus committed Jan 9, 2019
2 parents d573388 + 5ae7a56 commit 66b56c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gevent/libev/corecext.pyx
Expand Up @@ -407,7 +407,6 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
0.0, 0.0)

cdef unsigned int c_flags
cdef object old_handler = None
if ptr:
self._ptr = <libev.ev_loop*>ptr
self._default = libev.ev_is_default_loop(self._ptr)
Expand Down Expand Up @@ -698,9 +697,9 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
cdef object fileno = self.fileno()
cdef object activecnt = None
try:
sigfd = self.sigfd
self.sigfd
except AttributeError:
sigfd = None
pass
try:
activecnt = self.activecnt
except AttributeError:
Expand Down Expand Up @@ -1315,7 +1314,6 @@ cdef public void gevent_handle_error(loop loop, object context):
cdef object type
cdef object value = None
cdef object traceback = None
cdef object result

# If it was set, this will clear it, and we will own
# the references.
Expand Down

0 comments on commit 66b56c6

Please sign in to comment.