fishy commented on PR #2928:
URL: https://github.com/apache/thrift/pull/2928#issuecomment-1934796290
hmm, it _seems_ that fastbinary is actually built this way (at least for
linux-amd64):
```
(venv) fishy@penguin:~/work/test$ python3
Python 3.11.7 (main, Dec 8 2023, 14:22:46) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from thrift.protocol import TBinaryProtocol
>>> TBinaryProtocol.TBinaryProtocolAccelerated
<class 'thrift.protocol.TBinaryProtocol.TBinaryProtocolAccelerated'>
>>> from thrift.transport import TSocket
>>> transport = TSocket.TSocket('localhost', 9090)
>>> protocol = TBinaryProtocol.TBinaryProtocolAccelerated(transport)
>>> from thrift.protocol import fastbinary
>>> fastbinary
<module 'thrift.protocol.fastbinary' from
'/home/fishy/work/test/venv/lib/python3.11/site-packages/thrift/protocol/fastbinary.cpython-311-x86_64-linux-gnu.so'>
>>> fastbinary.decode_compact
<built-in function decode_compact>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]