From 46b709bc7780303b5fefd4bbbaf67b9f268d4865 Mon Sep 17 00:00:00 2001 From: Jason Fried Date: Mon, 10 Apr 2017 11:05:00 -0700 Subject: [PATCH] Client RequestChannels and folly/python/futures.h Summary: Use RequestChannel to construct Thrift Clients. use folly/python/futures.h to marry up thrift client rpc futures to asyncio futures. No gil exchanges py3 clients are async context managers now. Reviewed By: ambv, yfeldblum Differential Revision: D4639677 fbshipit-source-id: 6b400747507446882d3cfcb1cf7e85c3daa07a2e --- folly/python/__init__.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/python/__init__.pxd b/folly/python/__init__.pxd index b5deda23..b45054c8 100644 --- a/folly/python/__init__.pxd +++ b/folly/python/__init__.pxd @@ -6,7 +6,7 @@ cdef extern from "folly/ExceptionWrapper.h" namespace "folly": cdef extern from "folly/Try.h" namespace "folly" nogil: cdef cppclass cFollyTry "folly::Try"[T]: - T value() except+ + T value() cbool hasException[T]() cbool hasException() cFollyExceptionWrapper exception() -- 2.34.1