aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/_cython/cygrpc.pyx
Commit message (Collapse)AuthorAge
* Add hooks for census context propagationGravatar Richard Belleville2018-12-11
| | | | | | Appease the yapf gods Reformat
* Channelz Python wrapper implementationGravatar Lidi Zheng2018-11-27
| | | | | | | | | | | | | | | | * 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
* Replace pkg_resources with pkgutil.Gravatar Benjamin Peterson2018-11-01
| | | | pkg_resources (part of setuptools) is overkill for reading resource files. The standard library module pkgutil can do that just fine.
* Support gRPC Python client-side fork with epoll1Gravatar Eric Gribkoff2018-08-22
| | | | | | | | | | | | | | | | | 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.
* Add low-level Cython debug/expansion hooksGravatar Mehrdad Afshari2018-08-02
|
* Update grpc_gevent cython files to include .pxiGravatar Naresh2018-06-11
| | | | | | | 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.
* Initial gevent supportGravatar kpayson642018-03-27
| | | | | Because some cpp code ends up leaking into cython, we change the cython generator to generate cpp code.
* Elide cygrpc.ChannelArg and cygrpc.ChannelArgsGravatar Nathaniel Manista2018-01-26
|
* Elide cygrpc.TimespecGravatar Nathaniel Manista2018-01-10
|
* Reform cygrpc.OperationTag and cygrpc.EventGravatar Nathaniel Manista2017-12-31
| | | | | | 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.
* Reform cygrpc.OperationGravatar Nathaniel Manista2017-12-21
| | | | | | | | | 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.
* Streamline metadata in gRPC PythonGravatar Nathaniel Manista2017-12-08
|
* auto-fix most of licensesGravatar Jan Tattermusch2017-06-08
|
* Initialize GIL at startupGravatar Ken Payson2017-03-16
|
* Make .pxi imports relativeGravatar Ken Payson2016-09-11
|
* Switch init/shutdown: lib-wide -> per-objectGravatar siddharthshukla2016-08-05
| | | | Incremental changes towards PyPy support.
* Remove Python 'loader' hackGravatar Masood Malekghassemi2016-07-13
|
* Move Python.h include out of loader codeGravatar Masood Malekghassemi2016-07-13
| | | | | To make a certain private code base work in a certain way nicer than the current way.
* Build Python distributions standalone for WindowsGravatar Masood Malekghassemi2016-07-08
|
* Convert windows dll filename to bytesGravatar Ken Payson2016-06-28
|
* Moved grpc_shutdown to end of Py_Finalize()Gravatar Ken Payson2016-06-24
| | | | | | | | | 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.
* Initial Python3 supportGravatar Ken Payson2016-06-10
| | | | | | | | 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
* Update copyrightsGravatar Craig Tiller2016-03-31
|
* Don't hold the GIL when calling anything in coreGravatar Masood Malekghassemi2016-03-15
|
* Merge pull request #5100 from ↵Gravatar Nathaniel Manista2016-02-09
|\ | | | | | | | | nathanielmanistaatgoogle/python-grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback for Python.
| * grpc_set_ssl_roots_override_callback for PythonGravatar Nathaniel Manista2016-02-09
| |
* | Clang format and fix copyrightsGravatar murgatroid992016-02-05
|/
* Don't die on missing win32 resources on non-win32Gravatar Masood Malekghassemi2016-02-04
|
* Fix Python Windows buildGravatar Masood Malekghassemi2016-02-04
|
* Format a lineGravatar Masood Malekghassemi2016-02-04
|
* Almost there.Gravatar Nicolas "Pixel" Noble2016-02-04
|
* Add shim for Python's gRPC core on WindowsGravatar Masood Malekghassemi2016-02-04
|
* Include core in Python distributionGravatar Masood Malekghassemi2016-01-07
|
* Add metadata auth plugin API supportGravatar Masood Malekghassemi2015-12-07
|
* Update Cython gRPC codeGravatar Masood Malekghassemi2015-12-07
|
* Update Python C wrapping layers to new credentials APIGravatar Masood Malekghassemi2015-11-04
|
* Bring Cython tests back onlineGravatar Masood Malekghassemi2015-10-07
|
* Reorganize Python packagesGravatar Masood Malekghassemi2015-07-30
This is in preparation of moving all tests into a separate package to enable ease of coverage checking and testing.