Commit Graph

212 Commits

Author SHA1 Message Date
Nobuaki Sukegawa
7b545b5720 THRIFT-3532 Add configurable string and container read size limit to Python protocols
This closes #787
2016-01-13 20:25:23 +09:00
Nobuaki Sukegawa
a3b88a012e THRIFT-3503 Enable py:utf8string by default
This closes #779
2016-01-11 11:41:14 +09:00
Nobuaki Sukegawa
397bd51af7 THRIFT-3527 -gen py:dynamic,utf8strings ignores utf8strings option
This closes #777
2016-01-11 11:35:10 +09:00
Nobuaki Sukegawa
299255afbb THRIFT-3525 py:dynamic fails to handle binary list/set/map element
This closes #775
2016-01-11 11:34:20 +09:00
Thomas Bartelmess
65d8564e90 THRIFT-3538 python: Removed UnboundMethodType
This closes #783
2016-01-10 20:25:38 +01:00
Nobuaki Sukegawa
4733db4e15 THRIFT-3519 fastbinary does not work with -gen py:utf8strings
Client:
Patch: Nobuaki Sukegawa

This closes #769
2016-01-06 04:35:12 +09:00
Nobuaki Sukegawa
33744b0524 THRIFT-3515 Python 2.6 compatibility and test on CI
This closes #766
2016-01-05 03:02:35 +09:00
Nobuaki Sukegawa
ad8358664e THRIFT-3505 Enhance Python TSSLSocket
This closes #760
2016-01-03 02:39:51 +09:00
Nobuaki Sukegawa
b9c859a07b THRIFT-3506 Eliminate old style classes from library code
Client: Python
Patch: Nobuaki Sukegawa

This closes #758
2016-01-02 22:54:16 +09:00
Nobuaki Sukegawa
7b8946941e THRIFT-3504 Fix FastbinaryTest.py
Client: Python
Patch: Nobuaki Sukegawa

This closes #757
2016-01-02 22:54:16 +09:00
Robert Thille
dd02f55283 THRIFT-2883 TTwisted.py, during ConnectionLost processing: exceptions.RuntimeError: dictionary changed size during iteration
This closes #314
2015-12-24 02:11:17 +09:00
Nobuaki Sukegawa
e841b3dac6 THRIFT-162 Thrift structures are unhashable, preventing them from being used as set elements
Client: Python
Patch: David Reiss, Nobuaki Sukegawa

This closes #714
2015-11-28 00:08:07 +01:00
Nobuaki Sukegawa
8551f3f53d Revert part of 7f404fdef2
unichr does not work for code point > 0x10000 on ucs2 build
2015-11-15 16:33:55 +09:00
Nobuaki Sukegawa
bc7e480d0f THRIFT-3350 Python JSON protocol does not encode binary as Base64
Client: Python
Patch: Nobuaki Sukegawa

This closes #697
2015-11-15 14:00:18 +09:00
Nobuaki Sukegawa
7f404fdef2 Run test for THRIFT-2413
Slightly simplify _toChar method too.

This closes #695
2015-11-15 14:00:18 +09:00
Phongphan Phuttha
369d62e5e9 THRIFT-2413 Add JSON escaped unicode support for python3.
Client: Python
Patch: Phongphan Phuttha

This closes #686
2015-11-14 17:03:57 +09:00
Phongphan Phuttha
7f01e2a8f8 THRIFT-2413: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol
Client: Python
Patch: Phongphan Phuttha

This patch allows readJSONString to decode escaped unicode string including encoded surrogate pair.

This closes #673
2015-11-09 02:34:28 +09:00
Nobuaki Sukegawa
a185d7e785 THRIFT-1857 Python 3 Support
Client: Python
Patch: Nobuaki Sukegawa

Add py3 cross test
2015-11-06 21:24:24 +09:00
Nobuaki Sukegawa
760511f59b THRIFT-1857 Python 3 Support
Client: Python
Patch: Thomas Bartelmess, Eevee (Alex Munroe), helgridly, Christian Verkerk, Jeroen Vlek, Nobuaki Sukegawa

This closes #213 and closes #680
2015-11-06 21:24:16 +09:00
Jens Geyer
145749c7a2 THRIFT-3390 Tornado server should gracefully handle closed connections
Clidnt: Python.Tornado
Patch: Christian Verkerk <christian@tubularlabs.com>

This closes #654
2015-10-16 19:21:22 +02:00
Nobuaki Sukegawa
228b328f7b THRIFT-3376 C# and Python JSON protocol double values lose precision
Client: C#, Python, C++, Ruby
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #643
2015-10-14 00:40:23 +02:00
Nobuaki Sukegawa
64b8f6ca15 THRIFT-3375 Python TJSONProtocol encodes utf8 string values in an incompatible way
This closes #642
2015-10-11 00:23:31 +02:00
Jens Geyer
15c4004885 THRIFT-3323 Python library does not handle escaped forward slash ("/") in JSON
Client: Python
Patch: Grepsr <info@grepsr.com>
2015-09-29 21:33:23 +02:00
jfarrell
f13e431bab THRIFT-3305: Missing dist files for 0.9.3 release candidate
Client: build
Patch: jfarrell

Adds missing files to dist
2015-08-25 00:39:29 -04:00
Roger Meier
7daf00ceb1 THRIFT-3175 python: fastbinary.c python deserialize can cause huge allocations from garbage
define MAX_LIST_SIZE to be 10,000

Patch: Dvir Volk

This closes #511
2015-06-03 11:45:35 +02:00
Nobuaki Sukegawa
113b638790 THRIFT-3148 Markdown links to coding_standards are dead
This closes #491
2015-05-13 21:40:26 +02:00
Marco Molteni
7f47792bf2 THRIFT-3097 cmake targets unconditionally depend on optional libraries 2015-04-15 22:04:49 +02:00
Roger Meier
19e32dc0ed THRIFT-2850 CMake for Apache Thrift
add test/cpp and lib/py
2015-04-12 22:03:00 +02:00
jfarrell
d565e2f496 Thrift-1784: pep-3110 exception handling
Client: py
Patch: jfarrell

Updates python lib for pep-3110
2015-03-18 21:02:47 -04:00
Konrad Grochowski
3bc6424c76 THRIFT-2724 - Coding standards template added all over project
Client: All
Patch: Konrad Grochowski

This closes #371
2015-02-05 12:15:19 +01:00
Jens Geyer
4f2c0a066f THRIFT-2900 Python THttpClient does not reset socket timeout on exception
Client: Python
Patch: Aiden Scandella <aiden@uber.com>

This closes #322

Wrap THttpClient withTimeout in a try/finally
Otherwise the original value of the socket timeout is not restored properly.
2015-01-05 21:17:06 +01:00
Roger Meier
bf9603c77e THRIFT-2846 Expose ciphers parameter from ssl.wrap_socket()
fix: add missing comma
2014-12-06 18:52:35 +01:00
Zach Steindler
3a5252999d THRIFT-2825 Supplying unicode to python Thrift client can cause next request arguments to get overwritten
Make sure we clear wbuf on exception, so it doesn't contain a
partial function call.

Patch: Zach Steindler

This closes #282
2014-12-02 00:14:11 +01:00
Roger Meier
fc1303e2b5 THRIFT-2846 Expose ciphers parameter from ssl.wrap_socket()
Patch: Rodney Richardson

This closes #277
2014-12-02 00:11:54 +01:00
Konrad Grochowski
3b5dacba44 THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov

This closes #281
2014-11-24 10:55:31 +01:00
Roger Meier
81a1f996bc THRIFT-2602 fix missing dist files
- add automake 1.13 dependency to configure.ac and doc
- use serial-tests instead of .NOTPARALLEL (introduced by THRIFT-1829)

Patch: Roger Meier
2014-10-22 14:09:43 +02:00
Konrad Grochowski
07218673b0 THRIFT-2757: py - fixed checkIntegerLimits in TProtocol.py
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.
2014-10-09 12:18:25 +02:00
Konrad Grochowski
d5f3be5ebd THRIFT-2757: py - checkIntegerLimits optimized
Client: Python
2014-10-08 15:40:00 +02:00
Konrad Grochowski
93fea15b51 THRIFT-2757: py - Added integer limits checks in compact and JSON protocols
Client: Python
Patch: Bret Curtis

This closes: #234
2014-10-08 13:35:54 +02:00
Jens Geyer
79f988c27a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am)
Patch: Jens Geyer

Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer

DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Jens Geyer
b898eaa25c THRIFT-2665 Debug statements are unnecessary and should be removed
Client: Python
Patch: Dustin Spicuzza

This closes #189
2014-10-01 03:00:19 +02:00
Konrad Grochowski
3a724e37d4 THRIFT-2663: py - per module logger used in python lib
Client: Python-Library
Patch: Dustin Spicuzza

This enables per module log message filtering

This closes #187
2014-09-29 23:55:47 +02:00
James Broadhead
51ba56c31b py.twisted: Avoid synchronous exceptions
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
2014-09-28 22:39:55 +02:00
Jens Geyer
a86886e77d THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALL
Patch: Konrad Grochowski

This closes #216
2014-09-17 22:36:00 +02:00
Roger Meier
d52edba00f THRIFT-2231 Support tornado-4.x (Python)
Client: Python
Patch: Roey Berman
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-07 17:04:23 +02:00
Roger Meier
8033e7e794 Revert "THRIFT-585 exceptions in the autogenerated send_METHOD functions are not propagated"
This reverts commit 8345772f29.
2014-07-30 01:01:50 +02:00
Jens Geyer
8345772f29 THRIFT-585 exceptions in the autogenerated send_METHOD functions are not propagated
Client: Python (Twisted)
Patch: Mattias de Zalenski, James Broadhead

This closes #165
2014-07-26 18:02:12 +02:00
jfarrell
750df2ec4c THRIFT-2620: Fix python packaging
Client: build process
Patch: jfarrell

Fixes python build to include missing README.md and also run packaging under
vagrant images
2014-07-10 09:18:42 -04:00
jfarrell
8fd8c6366d THRIFT-2602:Fix missing dist files
Client: build process
Patch: jfarrell

Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00