python TCompactProtocol.py writeBool and readBool not follow the compact-proto-spec-2.txt spec for CONTAINER_WRITE, CONTAINER_READ -----------------------------------------------------------------------------------------------------------------------------------
Key: THRIFT-1208 URL: https://issues.apache.org/jira/browse/THRIFT-1208 Project: Thrift Issue Type: Bug Components: Python - Library Affects Versions: 0.6.1 Reporter: liwei In https://issues.apache.org/jira/secure/attachment/12399869/compact-proto-spec-2.txt, define the boolean value as follow: boolean-true => 0x1 boolean-false => 0x2 But in TCompactProtocol.py writeBool, readBool for CONTAINER_WRITE, CONTAINER_READ just bool(0x2) will always get true. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira