Nicolas "Pixel" Noble
da83b376eb
Changing versions from -dev to -pre1 on the release branch.
8 years ago
Masood Malekghassemi
6b890d1dd3
Run yapf over Python code
8 years ago
Masood Malekghassemi
0b1bb2d418
Don't leak Py exceptions without calling gRPC core
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Masood Malekghassemi
a66dad5db6
Add __richcmp__ to cygrpc.Timespec
8 years ago
Nathaniel Manista
7d561a6328
Fix grpc._server._Context.time_remaining
...
A weak test is included; proper test coverage will come later.
8 years ago
Stanley Cheung
b39942f06f
Update boringssl to latest chromium-stable
8 years ago
Masood Malekghassemi
c4d10dfb1b
Fix Python memory errors
...
... but for real this time.
8 years ago
Nathaniel Manista
d9ed84f66e
Doc string fix and tweaks
...
In those places where we return an object that implements two
interfaces (let's say P and Q), consistently describe it as a "P-Q"
rather than once mentioning that it is a P and describing it as a "Q"
for the rest of prose.
8 years ago
ncteisen
af2c01e73e
Expect INTERNAL in Python negative interop client
...
The test now expects to receive StatusCode.INTERNAL when it receives a
RST_STREAM from the server in order to comply with
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
Also added wait for ready behavior on the client channel.
8 years ago
Masood Malekghassemi
a47245112b
Fix Python errors
8 years ago
Nathaniel Manista
5aa2bcfd4d
Pass an iterator rather than an iterable
...
This should have been included in dd52a31337
but was missed because it falsely passes almost all of the time.
8 years ago
Masood Malekghassemi
cc793703bf
Run Python formatting
8 years ago
Masood Malekghassemi
62d895bc77
Paper-over Python errors
...
This reads directly off of the slices rather than ref'ing and unref'ing
them. There's likely some silliness w.r.t. interned slices and
references to them outliving their associated call objects, but we are
just ignoring that for now.
8 years ago
ncteisen
d70c8bb871
Implement wait-for-ready behavior in Python stress and qps client
...
The clients now block until the channel is in the READY state. This
fixes some test flakiness issues we have had.
8 years ago
Craig Tiller
732351f826
Start fixing http error --> grpc status conversion
8 years ago
Mark D. Roth
1f0f23cc5a
Handshaker plugin mechanism.
8 years ago
Nicolas "Pixel" Noble
c2390cc01b
Properly removing message_size_filter duplicate.
8 years ago
Nicolas "Pixel" Noble
0fc9999fba
Putting message size filter back.
8 years ago
Nicolas "Pixel" Noble
3d5592cea8
Moving message_size_filter properly.
8 years ago
Nathaniel Manista
2fab0e78b0
Rename interop-as-a-unit-test "intraop"
...
It's been confusing that these tests have been called "interop" but
are not actually tests of interoperation.
8 years ago
Masood Malekghassemi
25186ae0f1
Set Python documentation copyright
8 years ago
siddharthshukla
48226a2f1f
Add _invocation_defects_test.InvocationDefectsTest
...
Added tests for detecting invocation time defects arising out of the
runtime.
8 years ago
siddharthshukla
dd52a31337
Replace Python unit test iterables by iterators
...
Cast iterables into iterators for stream based compression, empty
message, and metadata tests.
8 years ago
siddharthshukla
6bfa91a795
Handle non-iterator objects in consume_request_iterator
...
Restructure the consume_request_iterator method to handle exceptions
where the object being passed is not an iterator. Fixes #8231 and #8454 .
8 years ago
ncteisen
02a7d4272a
Add python client to test negative http2 conditions
...
Documentation for the new tests can be found https://github.com/grpc/grpc/blob/master/doc/negative-http2-interop-test-descriptions.md
8 years ago
siddharthshukla
c336268a40
Fix invalid tests.json
...
Add a comma delimiter for "_invalid_metadata_test.InvalidMetadataTest".
8 years ago
Nathaniel Manista
6aedd44fb6
Drop use of Exception.message in metadata test
...
Apparently Exception.message was introduced in Python 2.5 and
deprecated almost immediately afterward in Python 2.6.
8 years ago
ncteisen
61b8c89206
Add check on return value from start_client_batch
8 years ago
Masood Malekghassemi
4682bf3928
Diagnose AttrErr as too-old setuptools
8 years ago
Masood Malekghassemi
9fb054a537
Upversion Python
8 years ago
Masood Malekghassemi
94b82355cb
Patch overlooked strings from Python un-namespacing
8 years ago
Masood Malekghassemi
f1cdf59b7f
Patch overlooked strings from Python un-namespacing
8 years ago
Nathaniel Manista
1de3914d69
Style fix: pass keyword arguments by keyword
8 years ago
Nathaniel Manista
91764921bc
Use LONG_TIMEOUT for calls that do not time out
8 years ago
Masood Malekghassemi
e136c1a773
Up-version Python
8 years ago
Masood Malekghassemi
f096f540ee
Recover 'namespace'd Python distribution packages
...
Uses dynamic loading to paper-over the negative effects of losing
namespace packages in the previous commit.
8 years ago
Masood Malekghassemi
53f6d098a7
Recover 'namespace'd Python distribution packages
...
Uses dynamic loading to paper-over the negative effects of losing
namespace packages in the previous commit.
8 years ago
Masood Malekghassemi
7ba3527ffe
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
8 years ago
Masood Malekghassemi
fb261bf748
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
8 years ago
Nathaniel Manista
e1fd78f110
Drop unnecessary sleep in interop test
8 years ago
Nathaniel Manista
8b223e2986
Correct Python cancel_after_begin interop test
...
It was a mistake that requests might be sent; the test specification
calls for no requests to be sent. It was a mistake that the response
future's cancelled() method was called; the cancelled() method returns
something more like "was this object's cancel() method called earlier?"
than "did the RPC terminate with status code CANCELLED?". Since it's
something that we'd well enough like to work I've retained the
cancelled() call with a different failure message.
8 years ago
Ken Payson
65feb6ae3d
Add ServiceRpcHandler to exported names
8 years ago
Masood Malekghassemi
6ba93f2612
Up-version Python for backports
8 years ago
Nathaniel Manista
b2b6a9eb57
ServicerContext methods doc string fix and tweak
...
ServicerContext.set_code takes a (grpc.)StatusCode, not an integer.
8 years ago
kpayson64
a44d3145c9
Allow handlers to hint at the services they export
8 years ago
Ken Payson
83decd64e0
Revert "Add configurable exit grace periods and shutdown handlers"
...
This reverts commit 3045a379aa
.
8 years ago
Masood Malekghassemi
990983110f
Begin patching Cython
8 years ago
Masood Malekghassemi
53360f2d1c
Backport Python features to 1.0.x
...
Backports per-object grpc_init/deinit and separated-file grpc protoc
codegen (#7538 , #8246 , #8920 ).
8 years ago
Masood Malekghassemi
561dce4525
Switch to command-arg for Python split-codegen
...
Almost fixes #8753 (which still needs a test).
8 years ago