You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Eugene Doktorov <eu...@thoora.com> on 2010/09/27 18:57:27 UTC
Python - Compact Protocol
Hi all,
I was looking for implementation of Compact Protocol for Python:
Did not find in 0.2.0
Did not find in source code from: git://git.thrift-rpc.org/thrift.git
Googled the topic in question, found this:
https://issues.apache.org/jira/browse/THRIFT-335
Did it make any official release?
I did not find any example in Thrift tutorial neither for C extension
version nor for pure Python one mentioned in the ticket.
Thanks!
Eugene
Re: Python - Compact Protocol
Posted by Eugene Doktorov <eu...@thoora.com>.
Got the file. Thanks!
Works fine using Python client & C++ server.
The only thing: I had to comment out assert at line 288 of
TCompactProtocol.py:
assert self.state == VALUE_READ
which was raising all the time
Not sure what it is going to lead to, but tests are running OK so far.
On Mon, 2010-09-27 at 10:08 -0700, Bryan Duxbury wrote:
> It doesn't look like this was committed yet, but I don't see any reason not
> to. I'll follow up on the issue.
>
> On Mon, Sep 27, 2010 at 9:57 AM, Eugene Doktorov <eugene.doktorov@thoora.com
> > wrote:
>
> > Hi all,
> >
> > I was looking for implementation of Compact Protocol for Python:
> > Did not find in 0.2.0
> > Did not find in source code from: git://git.thrift-rpc.org/thrift.git
> >
> >
> > Googled the topic in question, found this:
> > https://issues.apache.org/jira/browse/THRIFT-335
> >
> >
> > Did it make any official release?
> > I did not find any example in Thrift tutorial neither for C extension
> > version nor for pure Python one mentioned in the ticket.
> >
> > Thanks!
> >
> > Eugene
> >
> >
Re: Python - Compact Protocol
Posted by Bryan Duxbury <br...@rapleaf.com>.
It doesn't look like this was committed yet, but I don't see any reason not
to. I'll follow up on the issue.
On Mon, Sep 27, 2010 at 9:57 AM, Eugene Doktorov <eugene.doktorov@thoora.com
> wrote:
> Hi all,
>
> I was looking for implementation of Compact Protocol for Python:
> Did not find in 0.2.0
> Did not find in source code from: git://git.thrift-rpc.org/thrift.git
>
>
> Googled the topic in question, found this:
> https://issues.apache.org/jira/browse/THRIFT-335
>
>
> Did it make any official release?
> I did not find any example in Thrift tutorial neither for C extension
> version nor for pure Python one mentioned in the ticket.
>
> Thanks!
>
> Eugene
>
>