thriftpy
thriftpy copied to clipboard
Thriftpy has been deprecated, please migrate to https://github.com/Thriftpy/thriftpy2
Hi, I'm using `happybase==1.0.0` & `thriftpy==0.3.9` to scan a table, at very uncertain point(different each time), it throws exception like below, can anyone give me some hint on what happened?...
The pure python binary protocol will throw errors like this when it's unable to decode a value: ``` AttributeError: 'int' object has no attribute 'encode' ``` The cython version of...
Simple and correct solution for #234.
Add non-blocking server implement by `select` and fix broken pipe after read 0 byte.
add TProcessPoolServer. user can set number of workers.
Fields without explicit keys are automatically assigned starting from -1 and working their way down. Implicit field keys are deprecated by Apache Thrift, but supporting them gives us greater Thrift...
Fix typo
If we don't reset `self.sock` on connection error, then `my_socket.is_open()` will still return `True` after `TTransportException` is thrown. This may lead consumers to believe the `TSocket` can still be used....
thriftpy/thrift.py:292 else and raise ??? ``` def handle_exception(self, e, result): for k in sorted(result.thrift_spec): if result.thrift_spec[k][1] == "success": continue _, exc_name, exc_cls, _ = result.thrift_spec[k] if isinstance(e, exc_cls): setattr(result, exc_name,...