thrift/test/py
Elvis Pranskevichus b40f5c227f
THRIFT-4002: Make generated exception classes immutable by default
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"`.
2019-12-10 20:44:24 +00:00
..
explicit_module THRIFT-3290: Using from in variable names causes the generated Python code to have errors 2015-09-24 22:58:45 -04:00
CMakeLists.txt THRIFT-3612 Add Python C extension for compact protocol 2016-02-13 23:12:34 +09:00
FastbinaryTest.py THRIFT-4351: use travis build stages to optimize build, 2017-10-19 11:29:04 -04:00
generate.cmake THRIFT-4476: Typecasting problem on double list items, 2018-03-20 16:28:15 -04:00
Makefile.am THRIFT-4717: fix up make clean with autoconf 2019-01-25 23:33:54 -05:00
RunClientServer.py THRIFT-4621 Add THeader for Python 2018-09-01 10:24:43 +09:00
SerializationTest.py THRIFT-4351: use travis build stages to optimize build, 2017-10-19 11:29:04 -04:00
setup.cfg THRIFT-3691 Run flake8 Python style check on Travis-CI 2016-02-28 12:05:14 +09:00
TestClient.py THRIFT-4780: finish the server implementation of multi in python server 2019-02-08 17:16:17 -05:00
TestEof.py THRIFT-4351: use travis build stages to optimize build, 2017-10-19 11:29:04 -04:00
TestFrozen.py THRIFT-4002: Make generated exception classes immutable by default 2019-12-10 20:44:24 +00:00
TestRenderedDoubleConstants.py THRIFT-4476: Typecasting problem on double list items, 2018-03-20 16:28:15 -04:00
TestServer.py THRIFT-4780: finish the server implementation of multi in python server 2019-02-08 17:16:17 -05:00
TestSocket.py THRIFT-4370: build generated code before running static code analysis; 2017-10-26 11:37:02 -04:00
TestSyntax.py THRIFT-3691 Run flake8 Python style check on Travis-CI 2016-02-28 12:05:14 +09:00
TSimpleJSONProtocolTest.py THRIFT-3596 Better conformance to PEP8 2016-02-04 14:28:24 +09:00
util.py THRIFT-3613 Port Python C extension to Python 3 2016-02-13 23:12:34 +09:00