summaryrefslogtreecommitdiff
path: root/test/py
Commit message (Collapse)AuthorAgeFilesLines
* update makefileKevin Wojniak2022-03-051-1/+9
|
* add testsKevin Wojniak2022-03-053-2/+18
|
* THRIFT-5352: Fix construction of Py exceptions with no fieldsNeil Williams2021-02-161-1/+4
| | | | | | | | Client: py When no fields are present, we don't get the special constructor that uses __setattr__ to avoid these checks. So the default constructor sets message normally and triggers the anti-mutation tripwires.
* FIX: CI error at ./test/py/TestServer.py:178:26: F507 '...' % ... has 1 ↵Jens Geyer2020-05-191-1/+1
| | | | | | | | | placeholder(s) but 6 substitution(s) FIX: CI error at ./test/crossrunner/compat.py:11:21: E741 ambiguous variable name 'l' Patch: Jens Geyer This closes #2147
* THRIFT-4974: Add cross test for Python's Unix domain socket transportKengo Seki2019-12-122-2/+6
| | | | | Client: Python This closes #1896.
* Revert "Revert "THRIFT-4002: Make generated exception classes immutable by ↵Elvis Pranskevichus2019-12-121-0/+17
| | | | | | default"" This reverts commit 1234ddf8a5c98d5d700c82e087f04725170ad581.
* Revert "THRIFT-4002: Make generated exception classes immutable by default"D. Can Celasun2019-12-101-17/+0
| | | | This reverts commit b40f5c227f8db61be523f23ca017519167589d97.
* THRIFT-4002: Make generated exception classes immutable by defaultElvis Pranskevichus2019-12-101-0/+17
| | | | | | | | | | Currently, the generated exception classes are not hashable under Python 3 because of the generated `__eq__` method. Exception objects are generally expected to be hashable by the Python standard library. Post-construction mutation of an exception object seems like a very unlikely case, so enable hashing for all exceptions by making them immutable by default. This also adds a way to opt-out of immutability by setting the `python.immutable` annotation to `"false"`.
* THRIFT-4780: finish the server implementation of multi in python serverJames E. King III2019-02-082-15/+96
| | | | - Add default processor handling to python multi
* THRIFT-4405: fix cygwin on appveyorJames E. King III2019-02-011-4/+6
|
* THRIFT-4405: Enhance python cross test client for pedantic sequence id handlingJames E. King III2019-02-011-18/+59
|
* THRIFT-4717: fix up make clean with autoconfJames E. King III2019-01-251-1/+9
|
* THRIFT-4621 Add THeader for PythonNeil Williams2018-09-013-9/+27
| | | | Client: py
* THRIFT-4548: add python cross test client multiplexed protocol supportJames E. King III2018-04-131-12/+87
| | | | Client: py
* THRIFT-3118: add http (for non-ssl and for ssl) to the python cross testsJames E. King III2018-04-052-11/+42
|
* THRIFT-4476: Typecasting problem on double list items,Ozan Can Altiok2018-03-204-0/+192
| | | | | | | | | | | emitting doubles with high precision Client: cpp Client: erl Client: java Client: js Client: py This closes #1511
* THRIFT-4370: build generated code before running static code analysis;James E. King, III2017-10-262-5/+5
| | | | | | fix E722 flake8 issues identified in python code This closes #1399
* THRIFT-4351: use travis build stages to optimize build,James E. King, III2017-10-197-0/+7
| | | | | | | | | | | | | | | | | | | | | | avoiding duplicate rebuilds of the same image, and also allow personal docker hub repositories for private fork builds to be optimized. Move ubsan build to artful image because it catches more stuff and fix what was found. THRIFT-4345: solidify docker build strategy for maximum coverage: trusty, xenial, artful as stock as they can be THRIFT-4344: add top level language summary markdown and update readme with a new image on the layered architecture THRIFT-3847: remove VERSION macro from config.h which was causing a conflict on artful builds. THRIFT-4359: fix haxe map/set decode when key is binary, as a missing break statement caused it to use an int during decode This closes #1389
* THRIFT-4206: Fix decoding of strings in containers with py:dynamic and ↵Elvis Pranskevichus2017-09-251-0/+4
| | | | | | | | | | | | py:utf8strings Client: py _read_by_ttype and _write_by_ttype must be using the *element* spec and not the container spec when determining the correct read/write handler. This closes #1273
* configure.ac, Makefile.am: introduce THRIFT variable to support ↵Thomas Petazzoni2017-09-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | cross-compilation The thrift build system currently assumes that the thrift compiler is always available in $(top_builddir)/compiler/cpp/thrift. However, in a cross-compilation context, this location contains the thrift compiler built for the target... which obviously will not run on the build machine. In order to support such cross-compilation situation, we introduce the THRIFT variable as a an argument for the configure script (using AC_ARG_VAR). If not specified, it defaults to the existing value of using compiler/cpp/thrift from the build directory, but it can be overridden when calling ./configure. Note that $(top_builddir) cannot be used within the configure script, so we simply use `pwd`, which is the same as the top_builddir. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> This closes #1336 This closes #1350
* THRIFT-2642 Recursive structs don't work in pythonEric Conner2017-07-063-1/+82
| | | | | | | Client: Python Patch: Eric Conner <eric@pinterest.com> This closes #1293
* THRIFT-3938 Python TNonblockingServer does not work with SSLNobuaki Sukegawa2017-02-121-1/+1
| | | | This closes #1100
* THRIFT-3694 [Windows] Disable tests of a few servers that are not supportedNobuaki Sukegawa2016-03-021-14/+19
| | | | This closes #909
* THRIFT-3691 Run flake8 Python style check on Travis-CINobuaki Sukegawa2016-02-284-8/+8
| | | | | | | Client: Build (Python) Patch: Nobuaki Sukegawa This closes #907
* THRIFT-3682 Do not reuse refused sockets in test scriptsNobuaki Sukegawa2016-02-271-6/+12
| | | | | | | Client: Test Patch: Nobuaki Sukegawa This closes #902
* THRIFT-3613 Port Python C extension to Python 3Nobuaki Sukegawa2016-02-138-43/+59
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #845
* THRIFT-3612 Add Python C extension for compact protocolNobuaki Sukegawa2016-02-139-102/+172
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #844
* THRIFT-3601 Better conformance to PEP8 for generated codeNobuaki Sukegawa2016-02-051-1/+1
| | | | This closes #837
* THRIFT-3596 Better conformance to PEP8Nobuaki Sukegawa2016-02-049-1427/+1428
| | | | This closes #832
* THRIFT-3532 Add configurable string and container read size limit to Python ↵Nobuaki Sukegawa2016-01-131-4/+12
| | | | | | protocols This closes #787
* THRIFT-3503 Enable py:utf8string by defaultNobuaki Sukegawa2016-01-116-36/+47
| | | | This closes #779
* THRIFT-3515 Python 2.6 compatibility and test on CINobuaki Sukegawa2016-01-051-0/+4
| | | | This closes #766
* THRIFT-3438 Enable py:new_style by defaultNobuaki Sukegawa2016-01-022-12/+12
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #759
* THRIFT-3504 Fix FastbinaryTest.pyNobuaki Sukegawa2016-01-022-0/+216
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #757
* THRIFT-3495 Minor enhancements and fixes for cross testNobuaki Sukegawa2015-12-241-4/+5
| | | | This closes #750
* THRIFT-162 Thrift structures are unhashable, preventing them from being used ↵Nobuaki Sukegawa2015-11-282-0/+117
| | | | | | | | | as set elements Client: Python Patch: David Reiss, Nobuaki Sukegawa This closes #714
* THRIFT-3440 Python make check takes too much timeNobuaki Sukegawa2015-11-236-180/+228
| | | | | | | Client: Test Python Patch: Nobuaki Sukegawa This closes #711
* THRIFT-3350 Python JSON protocol does not encode binary as Base64Nobuaki Sukegawa2015-11-151-2/+0
| | | | | | | Client: Python Patch: Nobuaki Sukegawa This closes #697
* THRIFT-1857 Python 3 SupportNobuaki Sukegawa2015-11-062-180/+200
| | | | | | | Client: Python Patch: Nobuaki Sukegawa Add py3 cross test
* THRIFT-1857 Python 3 SupportNobuaki Sukegawa2015-11-068-48/+58
| | | | | | | Client: Python Patch: Thomas Bartelmess, Eevee (Alex Munroe), helgridly, Christian Verkerk, Jeroen Vlek, Nobuaki Sukegawa This closes #213 and closes #680
* THRIFT-3376 C# and Python JSON protocol double values lose precisionNobuaki Sukegawa2015-10-141-0/+1
| | | | | | | Client: C#, Python, C++, Ruby Patch: Nobuaki Sukegawa <nsukeg@gmail.com> This closes #643
* THRIFT-3375 Python TJSONProtocol encodes utf8 string values in an ↵Nobuaki Sukegawa2015-10-111-1/+28
| | | | | | incompatible way This closes #642
* THRIFT-3373: cross test cleanupRandy Abernethy2015-10-092-37/+37
| | | | | | | | | | | | Client: build, node, c_glib, cpp, hs, py, rb Patch: Nobuaki Sukegawa Github Pull Request: This closes #641 commit 338f1a502961a4f63b0bd4b3dae4099062d6d17f Author: Nobuaki Sukegawa <nsukeg@gmail.com> Date: 2015-10-09T17:25:18Z THRIFT-3373 Various fixes for cross test servers and clients
* THRIFT-3322 CMake generated "make check" failes on python_testRoger Meier2015-09-302-24/+33
| | | | Patch: Claudius Heine
* THRIFT-3360 Improve cross test servers and clients furtherNobuaki Sukegawa2015-09-281-9/+35
| | | | This closes #629
* THRIFT-3290: Using from in variable names causes the generated Python code ↵jfarrell2015-09-242-0/+26
| | | | | | | | | | | to have errors Client: py Patch: Prathik Rajendran Adds 'from' to the reserved words list for py This closes #579
* THRIFT-3347 Improve cross test servers and clientsJens Geyer2015-09-232-48/+102
| | | | | | | Client: TestSuite, C++, Perl, NodeJS, c_glib, Haskell, Python Patch: Nobuaki Sukegawa <nsukeg@gmail.com> This closes #621
* THRIFT-3340 Python: enable json tests againRoger Meier2015-09-211-3/+2
| | | | This closed #613
* THRIFT-3337 Add testBool method to cross testsNobuaki Sukegawa2015-09-212-0/+9
| | | | This closes #611
* THRIFT-2918 Race condition in Python TProcessPoolServer testRoger Meier2015-09-171-1/+1
|