| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Appease the yapf gods
Reformat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests
Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
|
|
|
|
| |
pkg_resources (part of setuptools) is overkill for reading resource files. The standard library module pkgutil can do that just fine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A process may fork after invoking grpc_init() and use gRPC in the child
if and only if the child process first destroys all gRPC resources
inherited from the parent process and invokes grpc_shutdown().
Subsequent to this, the child will be able to re-initialize and use
gRPC. After fork, the parent process will be able to continue to use
existing gRPC resources such as channels and calls without interference
from the child process.
To facilitate gRPC Python applications meeting the above constraints,
gRPC Python will automatically destroy and shutdown all gRPC Core
resources in the child's post-fork handler, including cancelling
in-flight calls (see detailed design below). From the client's
perspective, the child process is now free to create new channels and
use gRPC.
|
| |
|
|
|
|
|
|
|
| |
All files under `grpc/_cython/_cygrpc` in grpcio Python package
are used as include files and thus have a .pxi file extension.
grpc_gevent implementation was added in 1bfff8e, but didn't include the
.pxi file extension. Update these file names.
|
|
|
|
|
| |
Because some cpp code ends up leaking into cython, we change
the cython generator to generate cpp code.
|
| |
|
| |
|
|
|
|
|
|
| |
Rather than single classes they are now broken up into class families
with each class containing only those fields and methods that are
needed in the context in which the class is used.
|
|
|
|
|
|
|
|
|
| |
It is now a family of classes conforming to an interface rather than a
single class no single instance of which makes use of all behavior
scoped to the class.
It also now only uses gRPC Core memory for the time of a single batch
rather than for the entire lifetime of the instance.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Incremental changes towards PyPy support.
|
| |
|
|
|
|
|
| |
To make a certain private code base work in a certain way nicer than the
current way.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
We currently rely on the __del__ method of a module scope object
to call grpc_shutdown(). __del__ methods are not guaranteed
to be called, and furthermore there are no guarantees about
ordering, leading to shutdown race conditions. This moves
grpc_shutdown to Py_Finalize(), which gets called after the
Python context is completely cleaned up.
|
|
|
|
|
|
|
|
| |
Notable Changes:
-Convert all str types to byte types at cython layer (ascii encoding)
-Use six for packages that have different names in Python2/Python3
-By default, unit tests are compiled/run in Python2.7 and Python3.4
-Ensure MACOSX_BUILD_TARGET is at least 10.7
|
| |
|
| |
|
|\
| |
| |
| |
| | |
nathanielmanistaatgoogle/python-grpc_set_ssl_roots_override_callback
grpc_set_ssl_roots_override_callback for Python.
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
This is in preparation of moving all tests into a separate package to
enable ease of coverage checking and testing.
|