Propagate KeyboardInterrupt above completion queue

pull/18783/head
Lidi Zheng 6 years ago
parent 62d9be1533
commit 09d18aa659
  1. 2
      src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pxd.pxi
  2. 2
      src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pyx.pxi

@ -13,7 +13,7 @@
# limitations under the License.
cdef grpc_event _next(grpc_completion_queue *c_completion_queue, deadline)
cdef grpc_event _next(grpc_completion_queue *c_completion_queue, deadline) except *
cdef _interpret_event(grpc_event c_event)

@ -20,7 +20,7 @@ import time
cdef int _INTERRUPT_CHECK_PERIOD_MS = 200
cdef grpc_event _next(grpc_completion_queue *c_completion_queue, deadline):
cdef grpc_event _next(grpc_completion_queue *c_completion_queue, deadline) except *:
cdef gpr_timespec c_increment
cdef gpr_timespec c_timeout
cdef gpr_timespec c_deadline

Loading…
Cancel
Save