Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
6 years ago
Lidi Zheng
8326ac64e4
Remove GIL for grpc_call_unref
6 years ago
Richard Belleville
efa1f8b993
Remove debug prints
6 years ago
Richard Belleville
07bfbec8f9
Fix hanging build
6 years ago
Lidi Zheng
ef42aff699
Simplify batch operations event interpretation
6 years ago
Richard Belleville
1112d52f03
Revert "Merge pull request #18206 from grpc/revert-18182-enable-deadline-propagation"
...
This reverts commit 63ef07ebb5
, reversing
changes made to 046e3e4ab5
.
6 years ago
Vijay Pai
4f86edeb23
Revert "Enable deadline propagation"
6 years ago
Richard Belleville
33be6cd732
Switch pattern for marking unused argument
6 years ago
Richard Belleville
1c05218497
Fix new pylint errors.
6 years ago
Richard Belleville
3c3eb36b36
Yapf
6 years ago
Richard Belleville
795efaa108
Appease the pylint gods
6 years ago
Richard Belleville
8665767aa5
Fix bad merge
6 years ago
Richard Belleville
969f698cf2
Enable deadline propagation
6 years ago
Eric Gribkoff
1c2303c635
use isinstance for internal api to not catch mocks
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Nikolai Lifanov
580b720a39
address comments by ericgribkoff@
...
o re-add USE_PREBUILT_GRPC_CORE option that was erroneously removed
o fix typo in comment
6 years ago
Nikolai Lifanov
a916a53347
use str instead of Text to appease Python 2.7
...
The Python 2.7 Linux test runner doesn't have typing module available.
6 years ago
Nikolai Lifanov
9eb1171dfb
be compatible with Python 2 and Python 3
...
In Python 3, cc_err is going to be bytes().
6 years ago
Mehrdad Afshari
0ac7203777
Removed unused ChannelCredentials.c_credentials
6 years ago
Nikolai Lifanov
ad093660ff
format with yapf
...
This was already formatted with yapf, but perhaps I didn't do this
correctly. I copied the diff directly from kokoro build log this
time.
6 years ago
Nikolai Lifanov
c1451e83d5
generalize macOS workaround for -std=c++11 passed in C mode
...
GCC allows this, but notably clang does not. Other systems,
like FreeBSD and some Linux distros ship with clang as default
compiler. While here, switch the approach to filtering out std
flag since the make workaround relies on GNU make syntax and
'make' binary could be bmake and/or gmake could be absent.
The idea to filter the flags was taken from an answer to this
Stack Overflow question:
https://stackoverflow.com/questions/15527611/how-do-i-specify-different-compiler-flags-in-distutils-for-just-one-python-c-ext
6 years ago
Lidi Zheng
d209deb14b
Revert "Revert "Merge pull request #17644 from lidizheng/bzl-py3""
...
This reverts commit 7da0aacef2
.
6 years ago
Eric Gribkoff
bf7107b9dc
comments
6 years ago
Richard Belleville
4f299d84ed
Add private _finalize_state method to ServicerContext
6 years ago
Eric Gribkoff
0346ec2f45
stream_observer->on_next_callback
6 years ago
Eric Gribkoff
9345eac211
non-blocking server streaming for health service
6 years ago
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706
, reversing
changes made to b3b5d63423
.
6 years ago
hcaseyal
275296c594
Revert "LB policy picker API"
6 years ago
yang-g
3c61849461
python changes
6 years ago
Eric Gribkoff
2ea6d3ef0b
Add fork tests as Python unit tests
6 years ago
Mark D. Roth
bab8123763
LB policy picker API
6 years ago
Srini Polavarapu
b0efc103e3
Regenerate projects
6 years ago
Arjun Roy
195a30bb8b
Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
...
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
6 years ago
Eric Gribkoff
c5255e9a5e
python: do not store raised exception in _Context.abort()
...
Python 3 exceptions include a `__traceback__` attribute that includes
refs to all local variables. Saving the exception results in leaking
references to the, among other things, the Cython grpc_call wrapper and
prevents garbage collection and release of core resources, even after
the server is shutdown.
See
https://www.python.org/dev/peps/pep-3134/#open-issue-garbage-collection
6 years ago
Eric Gribkoff
7da0aacef2
Revert "Merge pull request #17644 from lidizheng/bzl-py3"
...
This reverts commit a25828ad78
, reversing
changes made to 5176fd80fc
.
6 years ago
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
6 years ago
Lidi Zheng
91fde06b12
Remove the dependency of 'six'
6 years ago
Lidi Zheng
1a688982a4
Cast the str type if it is unicode
6 years ago
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
6 years ago
Eric Gribkoff
30a95d354c
rename census context hooks
6 years ago
Sanjay Pujare
ad54166f92
Regenerate projects
6 years ago
Eric Gribkoff
09f72a1057
avoid AttributeError when object init fails
6 years ago
Eric Gribkoff
4d391b64e1
avoid AttributeError when object init fails
6 years ago
Prashant Jaikumar
95965f71d3
Remove network_status_tracker
...
Remove network_status_tracker and its unit test as it does nothing. We
can add tests for network status change in another commit.
6 years ago
Eric Gribkoff
1c91bcceb0
correctly name __dealloc__ method
6 years ago
Eric Gribkoff
025cb9b1e7
correctly name __dealloc__ method
6 years ago
Richard Belleville
ca5c0a8366
Switch to absolute import
6 years ago
Lidi Zheng
0d931d9c8f
Make Python 3 pass all unit tests
6 years ago
Lidi Zheng
814c858f3f
Enable Python 3
6 years ago