aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2018-06-06 21:57:39 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2018-06-06 21:57:39 +0000
commit9c86b20bacbb92ed9b8b43b56b2e2fdefcecedae (patch)
tree302f8a03f0bc7bc4d44da461a0b7a8e2538f0d21 /src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi
parentca7ba4d0ac3ab452c5db60befc8be37fd6e2339b (diff)
Retain references to channel arguments
This works around issue 15662 which is not as easy to implement as I would prefer it to be.
Diffstat (limited to 'src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi')
-rw-r--r--src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi
index 65de30884c..aecd3d7b11 100644
--- a/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi
+++ b/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi
@@ -15,10 +15,12 @@
cimport cpython
+# TODO(https://github.com/grpc/grpc/issues/15662): Reform this.
cdef void* _copy_pointer(void* pointer):
return pointer
+# TODO(https://github.com/grpc/grpc/issues/15662): Reform this.
cdef void _destroy_pointer(void* pointer):
pass