r1164@dev030 (orig r58240): dreiss | 2007-09-04 18:14:09 -0700
commitfaa3d660b0b4309cdb83bc8886e17bf4402ae90a
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Wed, 5 Sep 2007 01:03:37 +0000 (5 01:03 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Wed, 5 Sep 2007 01:03:37 +0000 (5 01:03 +0000)
tree4beeb59769e5c598bddd17d87761d98698b8185f
parent323f7d3060fdc1d336c7a26d462d87fcbe8aba57
 r1164@dev030 (orig r58240):  dreiss | 2007-09-04 18:14:09 -0700
 Thrift: Python TBufferedTransport improvements.

 Summary:
 The Python version of TBufferedTransport now uses input buffering.
 It is also compatible with the fasbinary module.

 Reviewed By: mcslee

 Test Plan:
 test/FastbinaryTest.py

 dreiss@dreiss-vmware:~/gp/thrift/test/py$ strace -f ./TestClient.py 2>&1 | grep recv | wc -l
 99
 # Install new version in other terminal
 dreiss@dreiss-vmware:~/gp/thrift/test/py$ strace -f ./TestClient.py 2>&1 | grep recv | wc -l
 14

 Revert Plan: ok

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@567 41a61cd8-c433-0410-bb1c-e256eeef9e11
lib/py/src/protocol/fastbinary.c
lib/py/src/transport/TTransport.py
test/FastbinaryTest.py