OpenSourceRouting
  1. OpenSourceRouting

thriftpy

Public
AuthorCommitMessageCommit dateIssues
Christian FrankeChristian Franke
c7e6cb2d98fDebianize package as version 0.3.2+netdef-1
David LamparterDavid Lamparter
966329b8f1cSupport reverse callsworks with oneway calls only; other things will get out of sync pretty quickly...
Lx YuLx Yu
39701f9a0b5MMerge pull request #175 from wooparadog/add-metaAdd meta support during tracking process.
lxyulxyu
d5859288ff6use higher portsthe 6k ports randomly failed in travis-ci, use higher ports to lower the chance.
lxyulxyu
ab9ae0bc9f0disable linger, sync with java implementation
WooParadogWooParadog
24bfaede163Revert tracking version bump, thrift actually supports adding field
lxyulxyu
cc63b997c23MMerge pull request #160 from gpoesia/developAdd convenience method to close transports.
Gabriel PoesialxyuGabriel Poesia
1c3c624dfe6Add convenience method to close transports.If the client is created via thriftpy.rpc.make_client, there seems to be no public way of closing the connection to the server. This adds a public method to TClient to do exactly that.
lxyulxyu
725c8d19860takes a lot code to support ssl py26 and py33
lxyulxyu
6874ed1018eadd some depreaction warning
lxyulxyu
652029c1011another fix for compat issues.now only support ssl in python >= 2.7.9 or python >= 3.4 support ssl in older python is a headache, it's much complex than a first glance, if you're serious about security, upgrade you python to use modern ssl lib. more info: https://www.python.org/downloads/release/python-279/
lxyulxyu
153a065a526fix py2 compat issues
lxyulxyu
a43edb32c76add python3.5 to tests and update deps
lxyulxyu
ce48c6b9b29add sslsocket implementation
lxyulxyu
83a921a9b64refine TScoket and TServerSocket implementationmore feature rich sockets based on java lib implementation: 1. able to config connect_timeout and socket_timeout 2. add default linger, keepalive, tcp_nodelay to socketopt 3. able to config client_timeout, backlog in serversocket 4. default to AF_INET ipv4 address (configurable to ipv6)
lxyulxyu
a81f6e16e61add a missing line in changelog
WooParadogWooParadog
fb62709fc58Add meta passing in header
Lx YuLx Yu
15c14d649e0MMerge pull request #172 from halfcrazy/fix_windows_compatiblepatch samefile method for windows user whos python version under 3.2
zhuyanzhuyan
7491aef470apatch samefile method for windows user whos python version under 3.2
Lx YuLx Yu
b67c9dd6956MMerge pull request #169 from c4urself/feature/named-loggersuse named loggers
Christian VerkerkChristian Verkerk
cb143bec5cause named loggers
Chao WangChao Wang
991b0408bd6MMerge pull request #168 from halfcrazy/add_unicode_testadd unicode module_name test case
yan.zhuyan.zhu
fb72710fe9eadd unicode module_name
Chao WangChao Wang
144b9d6880dMMerge pull request #167 from halfcrazy/add_unicode_supportadd unicode support for unicode_literals
yan.zhuyan.zhu
3335ba997bdadd unicode support for unicode_literals
lxyulxyu
324b65b3ec1add changelog, version bumps to v0.3.2
Lx YuLx Yu
981ec6e872aMMerge pull request #162 from jparise/read_i08-boolSimplify the read_i08() bool result cast.
Lx YuLx Yu
ddeeb36e8e1MMerge pull request #163 from jparise/init-dictinit() now directly stores a copy of locals().
Jon PariseJon Parise
ae4d2e2f7d6init() now directly stores a copy of locals().We always start with an empty __dict__, and the dict.copy() method appears to be a bit faster than dict.update(). Also, 'self' always exists in locals() so we can just delete that key directly (instead of calling dict.pop()).
Jon PariseJon Parise
844cf2904ebSimplify the read_i08() bool result cast.The cython-generated code for `bool(read_i08(buf))` includes a call to the Python `bool` type function. That extra call is unnecessary in this case. Instead, we can cast to cython's `bint` type, which generates code that directly returns `Py_True` or `Py_False` (via `__Pyx_PyBool_FromLong`). This appears to be the most efficient code generation for this expression. For completeness, I also inv...
Lx YuLx Yu
8cc573dcf9aMMerge pull request #161 from jparise/cast-bool-intSupport integer boolean constants.
Jon PariseJon Parise
e481e5d7d52Support integer boolean constants.Some Thrift generators used to produce bad code for some languages that used 'true' and 'false' as reserved keywords, so there are Thrift files in the wild that use {0,1} to represent the {false,true} boolean constant values. This is also supported by Apache Thrift.
Lx YuLx Yu
b3cc6f2f7d7MMerge pull request #158 from hit9/fix-recursive-unionFix recursive union parsing #157
hit9hit9
872170e4a7eFix recursive union parsing #157
Lx YuLx Yu
c2bbb407e7bMMerge pull request #156 from keitheis/developSince Python 3.3, socket.error has been merged into OSError.
Keith YangKeith Yang
4cd308fedd6Use OSError together with socket.errorSince Python 3.3, socket.error has been merged into OSError.
Lx YuLx Yu
fad1016d03dMMerge pull request #155 from hit9/support-recursive-structsAllow self-referencing recursive struct definition
hit9hit9
7e8d81a0a18Allow self-referencing recursive struct definition
Lx YuLx Yu
3836f744b76MMerge pull request #154 from hit9/load_fpAdd api load_fp to load thrift from file like object
hit9hit9
ae1723044c3Fix flake8 lint errors
hit9hit9
48c9a8dcb32Add test case for load_fp
hit9hit9
4995fb2edb4Add load_fp and check on p_inlcude
hit9hit9
bb9d1f3fec7Add method `parse_fp`
hit9hit9
a505443e504Add docstring for `parse`
Lx YuLx Yu
5d3377f3b9aMMerge pull request #152 from maralla/overflow_erroradd OverflowError to write_val decode exceptions
marallamaralla
d652ca0564aadd OverflowError to write_val decode exceptions
Lx YuLx Yu
9bbde51bd1aMMerge pull request #150 from maralla/type_tolerancemake subclasses of dict to pass the type check
marallamaralla
1aa8c75ed2bmake subclasses of dict to pass the type check
Lx YuLx Yu
32f96962b1fMMerge pull request #149 from maralla/validate_field_typesvalidate field types when write data to transport
marallamaralla
4958f041e69validate field types when write data to transport