summaryrefslogtreecommitdiff
path: root/lib/py/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-083-13/+39
| | | | | | | Client: Python Patch: Bret Curtis This closes: #234
* THRIFT-2665 Debug statements are unnecessary and should be removedJens Geyer2014-10-011-2/+0
| | | | | | | Client: Python Patch: Dustin Spicuzza This closes #189
* THRIFT-2663: py - per module logger used in python libKonrad Grochowski2014-09-294-26/+34
| | | | | | | | | Client: Python-Library Patch: Dustin Spicuzza This enables per module log message filtering This closes #187
* py.twisted: Avoid synchronous exceptionsJames Broadhead2014-09-281-2/+2
| | | | | | | | | | This is an update of the patch posted to: https://issues.apache.org/jira/browse/THRIFT-585 and a re-write of 8345772 Patch: Mattias de Zalenski, James Broadhead Jira: THRIFT-585
* THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALLJens Geyer2014-09-171-1/+2
| | | | | | Patch: Konrad Grochowski This closes #216
* THRIFT-2231 Support tornado-4.x (Python)Roger Meier2014-08-071-80/+109
| | | | | | Client: Python Patch: Roey Berman Signed-off-by: Roger Meier <roger@apache.org>
* Revert "THRIFT-585 exceptions in the autogenerated send_METHOD functions are ↵Roger Meier2014-07-301-2/+2
| | | | | | not propagated" This reverts commit 8345772f299a308496ebaae6516f3f813469f829.
* THRIFT-585 exceptions in the autogenerated send_METHOD functions are not ↵Jens Geyer2014-07-261-2/+2
| | | | | | | | | propagated Client: Python (Twisted) Patch: Mattias de Zalenski, James Broadhead This closes #165
* THRIFT-1914 Python: Support for Multiplexing Services on anyRoger Meier2014-05-033-0/+139
| | | | | | | | | | | | | | | Transport, Protocol and Server Patch: smallfish & djwatson & haijunz & Roger Meier This closes #103 and #82 From 7aaea7ef4e6f44097b02543fa2e62597eae9d61e Mon Sep 17 00:00:00 2001 From: smallfish <smallfish.xy@gmail.com> Date: Tue, 22 Apr 2014 11:26:52 +0800 Subject: [PATCH] THRIFT-1914 Python: Support for Multiplexing Services on any Transport
* THRIFT-2506 Update TProtocolException error codes to be used consistently ↵Jens Geyer2014-05-031-0/+2
| | | | | | throughout the library Patch: Jens Geyer
* THRIFT-2466: Improper error handling for SSL/TLS connections that don't ↵Roger Meier2014-04-212-0/+10
| | | | | | | complete a handshake Client: Python Patch: Benoit Sigoure
* THRIFT-1719:SASL client support for Pythonjfarrell2014-02-212-2/+216
| | | | | | | Client: py Patch: Tyler Hobbs Add SASL client transports that will work with the Java lib's TSaslTransport
* THRIFT-2267:Should be able to choose socket family in Python TSocketjfarrell2013-11-251-1/+1
| | | | | | | Client: py Patch: Abraham Elmahrek Fix socket_family prefix in previous commit.
* THRIFT-2267:Should be able to choose socket family in Python TSocketjfarrell2013-11-251-4/+8
| | | | | | | Client: py Patch: Abraham Elmahrek Currenlty, the python library looks for AF_INET6, but some applications prefer AF_INET4. This should be selectable or configurable.
* Python Tornado TTornadoServer base class changehenrique2013-11-081-2/+2
| | | | Patch: Bryan Pham
* THRIFT-1639 Java/Python: Serialization/Deserialization of double type using ↵Roger Meier2013-11-051-2/+2
| | | | | | CompactProtocol Patch: Patrick Lawson
* THRIFT-1966:Support different files for SSL certificates and keysJake Farrell2013-06-071-1/+12
| | | | | | | Client: py Patch: Michael Kaes Change the TSSLSocket class to accept key parameters and pass them to the ssl.wrap_socket function
* THRIFT-1704: Tornado support (Python)Chris Piro2013-03-071-0/+153
|
* THRIFT-1797 Python implementation of TSimpleJSONProtocolRoger Meier2012-12-261-12/+109
| | | | Patch: Avi Flamholz
* THRIFT-1801 Sync up TApplicationException codes across languages and thrift ↵Roger Meier2012-12-221-0/+13
| | | | | | implementations Patch: Andrew Cox
* THRIFT-1796 TJSONProtocol is not functionalRoger Meier2012-12-182-32/+34
| | | | Patch: Avi Flamholz
* THRIFT-1773. Revert "Thrift-1604:Python exxception handeling for changes ↵Todd Lipcon2012-12-104-16/+16
| | | | | | | | | from PEP3110" This reverts commit 6c5ee6ad2067e245ab5364f9a6019d8b63d7ed52. This commit is being reverted since it broke compatibility with Python 2.4, which is the latest version included in RHEL5 releases.
* THRIFT-1749 Python TSSLSocket error handling obscures actual errorRoger Meier2012-11-081-2/+3
| | | | | | | Patch: Tyler Hobbs git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1407311 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1745 Python JSON protocol Roger Meier2012-11-021-1/+1
| | | | | | | fix typo detected by cross language test suite git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1404914 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1745 Python JSON protocol Roger Meier2012-11-022-1/+452
| | | | | | | | | | | TJSONProtocol.py: Frederic Delbos THRIFT-847 Test Framework harmonization across all languages Integration into py lib and test suite git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1404838 13f79535-47bb-0310-9956-ffa450edef68
* Thrift-1604:Python exxception handeling for changes from PEP3110Jake Farrell2012-05-184-16/+16
| | | | | | | | | | | Client: py Patch: Jake Farrell Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339941 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1569 thrift: add stop() method to python TNonblockingServerRoger Meier2012-04-131-2/+24
| | | | | | Patch: Dave Watson git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325784 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1568 Thrift: Add User-Agent header to Python THttpClientRoger Meier2012-04-131-0/+10
| | | | | | Patch: Dave Watson git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325781 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1560 Add setCustomHeaders() method to python thrift libRoger Meier2012-04-111-0/+9
| | | | | | Patch: Dave Watson git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325041 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1480. py: remove tabs, adjust whitespace and address PEP8 warningsBryan Duxbury2012-01-0318-299/+366
| | | | | | | | 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-1407: Typo in Python socket server causes Thrift to fail when we ↵Jake Farrell2011-10-261-2/+2
| | | | | | | | | | | | | enable a global socket timout Client: py Patch: adalc Fixes typo in python socket server timeout git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189170 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1342 Compilation problem on Windows of fastbinary.cRoger Meier2011-09-131-5/+21
| | | | | | Patch: alexandre parenteau git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170180 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1115 python TBase class for dynamic (de)serialization, and __slots__ ↵Roger Meier2011-09-115-1/+310
| | | | | | | | 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-690 add new ApplicationExceptions (INTERNAL_ERROR, PROTOCOL_ERROR) to ↵Roger Meier2011-08-031-0/+2
| | | | | | the following languages: as3, c_glib, cocoa, cpp, erl, hs, js, nodejs, ocaml, perl, py, rb git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153412 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1208. py: Compact protocol always reads and writes booleans as trueBryan Duxbury2011-07-131-3/+6
| | | | | | Patch: liwei git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146180 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1103. py: TZlibTransport for python, a zlib compressed transportBryan Duxbury2011-03-223-9/+280
| | | | | | | | This patch adds a new TZlibTransport to the Python library and extends the test suite to exercise it. Patch: Will Pierce git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084276 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1100. py: python TSSLSocket improvements, including certificate ↵Bryan Duxbury2011-03-212-31/+159
| | | | | | | | | | validation This patch adds a number of features to TSSLSocket and TSSLServerSocket. Patch: Will Pierce git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083880 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1094. py: bug in TCompactProto python readMessageEnd method and ↵Bryan Duxbury2011-03-211-2/+1
| | | | | | | | | | updated test cases This patch fixes a TCompactProtocol bug and expands the test cases to exercise the problem. Patch: Will Pierce git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083877 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1093. py: several bugs in python TCompactProtocolBryan Duxbury2011-03-151-6/+12
| | | | | | Patch; Will Pierce git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081864 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1083. py: Preforking python process pool serverBryan Duxbury2011-03-091-0/+125
| | | | | | Patch: Dvir Volk git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1079913 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1068. py: Python SSL Socket SupportBryan Duxbury2011-02-221-0/+38
| | | | | | | | A python implementation of TSSLSocket. Patch: Kevin Worth git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073447 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1049. py: Allow for TServerSocket python library to bind to a ↵Bryan Duxbury2011-01-261-2/+2
| | | | | | | | | | specific host This patch adds a new host argument to TServerSocket that allows it to bind to a specific host. Patch: Jake Farrell git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063806 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-335. python: Initial implementation of TCompactProtocolDavid Reiss2010-09-271-0/+368
| | | | | | Seems to work. No interoperability testing with other languages yet. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001827 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-666. python: Allow THttpServer's responses to be overriddenDavid Reiss2010-09-021-7/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991986 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-596. python: Make the TBufferedTransport read buffer size configurableDavid Reiss2010-09-021-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991985 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-597. py: Python THttpServer performance improvementsBryan Duxbury2010-09-021-2/+5
| | | | | | | | This enables buffered I/O and ThreadingMixin. Patch: David Reiss git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991971 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-598. py: Allow Python's threading servers to use daemon threadsBryan Duxbury2010-09-021-2/+6
| | | | | | Patch: David Reiss git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991969 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-721. py: THttpClient ignores url parametersBryan Duxbury2010-09-021-0/+2
| | | | | | | | Respect query string in THttpClient and generated remotes. Also, add an error message on unknown methods. Patch: Thomas Kho git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991786 13f79535-47bb-0310-9956-ffa450edef68