summaryrefslogtreecommitdiff
path: root/lib/py/src/protocol/TProtocol.py
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-3532 Add configurable string and container read size limit to Python ↵Nobuaki Sukegawa2016-01-131-0/+10
| | | | | | protocols This closes #787
* THRIFT-3527 -gen py:dynamic,utf8strings ignores utf8strings optionNobuaki Sukegawa2016-01-111-0/+11
| | | | This closes #777
* THRIFT-3525 py:dynamic fails to handle binary list/set/map elementNobuaki Sukegawa2016-01-111-108/+54
| | | | This closes #775
* THRIFT-3506 Eliminate old style classes from library codeNobuaki Sukegawa2016-01-021-2/+2
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #758
* THRIFT-162 Thrift structures are unhashable, preventing them from being used ↵Nobuaki Sukegawa2015-11-281-12/+16
| | | | | | | | | as set elements Client: Python Patch: David Reiss, Nobuaki Sukegawa This closes #714
* THRIFT-3350 Python JSON protocol does not encode binary as Base64Nobuaki Sukegawa2015-11-151-13/+27
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #697
* THRIFT-1857 Python 3 SupportNobuaki Sukegawa2015-11-061-10/+21
| | | | | | | Client: Python Patch: Thomas Bartelmess, Eevee (Alex Munroe), helgridly, Christian Verkerk, Jeroen Vlek, Nobuaki Sukegawa This closes #213 and closes #680
* THRIFT-2757: py - fixed checkIntegerLimits in TProtocol.pyKonrad Grochowski2014-10-091-4/+4
| | | | | | | | Client: Python Patch: Bret Curtis I was applying patch, refactoring method names and profiling method, all at once and in that commotion code in commit was half refactored. This commit fixes it.
* THRIFT-2757: py - checkIntegerLimits optimizedKonrad Grochowski2014-10-081-4/+11
| | | | Client: Python
* THRIFT-2757: py - Added integer limits checks in compact and JSON protocolsKonrad Grochowski2014-10-081-0/+6
| | | | | | | Client: Python Patch: Bret Curtis This closes: #234
* THRIFT-2506 Update TProtocolException error codes to be used consistently ↵Jens Geyer2014-05-031-0/+2
| | | | | | throughout the library Patch: Jens Geyer
* THRIFT-1796 TJSONProtocol is not functionalRoger Meier2012-12-181-23/+23
| | | | Patch: Avi Flamholz
* THRIFT-1480. py: remove tabs, adjust whitespace and address PEP8 warningsBryan Duxbury2012-01-031-27/+29
| | | | | | | | This patch addresses a host of PEP8 lint problems. Patch: Will Pierce git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1226890 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1115 python TBase class for dynamic (de)serialization, and __slots__ ↵Roger Meier2011-09-111-0/+199
| | | | | | | | option for memory savings Patch: Will Pierce git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1169492 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add license headers to a bunch of filesDavid Reiss2009-03-301-4/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-93. Remove unnecessary shebang lines from Python librariesDavid Reiss2008-07-211-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@678529 13f79535-47bb-0310-9956-ffa450edef68
* Thrift TBinaryProtocol changeMark Slee2007-06-201-0/+1
| | | | | | | | | | | Summary: New Thrift TBinaryProtocol with a version identifier Reviewed By: aditya, eugene Test Plan: Modify your services to have strictRead_ and strictWrite_ both set to FALSE. Then redeploy your services and test running clients against them. Once you have clients and servers running stably on this new code, you should redploy versions with strictWrite_ set to TRUE. Once that's all good, we can set strictRead_ to TRUE as well, and eventually deprecate the old protocol code entirely. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665138 13f79535-47bb-0310-9956-ffa450edef68
* Applying Thrift software license to Python sourceMark Slee2007-03-011-0/+8
| | | | | | | Reviewed By: python git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665032 13f79535-47bb-0310-9956-ffa450edef68
* Move constant defs into Thrift.py to avoid cirulcar includesMark Slee2007-02-211-24/+1
| | | | | | | Reviewed By: snakes git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665016 13f79535-47bb-0310-9956-ffa450edef68
* Starting python exception handling cleanupMark Slee2007-02-211-0/+15
| | | | | | | Reviewed By: aditya git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665013 13f79535-47bb-0310-9956-ffa450edef68
* -- Protocol and transport factories now wrap around a single protocol/transportAditya Agarwal2007-02-061-5/+3
| | | | | | | | | | Summary: - This is an analagous to the C++ change made in r31441 Reviewed By: cheever, mcslee git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664975 13f79535-47bb-0310-9956-ffa450edef68
* Fix python server bugs and go to new protocol wraps transport modelMark Slee2006-10-251-64/+70
| | | | | | | Reviewed By: ccheever git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664849 13f79535-47bb-0310-9956-ffa450edef68
* Thrift: Added support for double type across all languagesMark Slee2006-09-061-1/+10
| | | | | | | | | | | | | | | | | Summary: Just for completeness cause I'm crazy. Let's never use these! Notes: Also made thrift grammar support # style comments, so you can do this at the top of your files #!/usr/local/bin/thrift --cpp /** * This is a thrift def file youc an invoke directly and gen code! */ blah git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664789 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of the basic Thrift stack in PythonMark Slee2006-09-031-0/+180
Summary: Framework, install script, base classes, TSocket, TBinaryProtocol Notes: Code-gen is coming around the bend... git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664778 13f79535-47bb-0310-9956-ffa450edef68