From 1a0655d75ccbafe432b84b545e29e485cef16f91 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 17 Mar 2020 10:55:52 -0700 Subject: [PATCH] Add comment about why we can't use cimport --- .../grpcio/grpc/_cython/_cygrpc/aio/completion_queue.pxd.pxi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/aio/completion_queue.pxd.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/aio/completion_queue.pxd.pxi index 54d845a94ca..f1a7a996644 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/aio/completion_queue.pxd.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/aio/completion_queue.pxd.pxi @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +# NOTE(lidiz) Unfortunately, we can't use "cimport" here because Cython +# links it with exception handling. It introduces new dependencies. cdef extern from "" namespace "std" nogil: cdef cppclass queue[T]: queue()