aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc
Commit message (Collapse)AuthorAge
...
* Fix SSL channel credential when an argument is NoneGravatar Mehrdad Afshari2018-09-17
|
* Merge pull request #16378 from ghostwriternr/module-level-logger-fixGravatar Nathaniel Manista2018-09-06
|\ | | | | Configure module level loggers with basicConfig().
* | [bazel] Fix python BUILD rulesGravatar Ruslan Nigmatullin2018-09-04
| | | | | | | | | | * Add missing cython sources * Make grpcio a library as it is not a binary
* | Regenerate projectsGravatar Juanli Shen2018-08-27
| |
* | Check poll strategy in core fork handler and log error if unsupportedGravatar Eric Gribkoff2018-08-23
| |
* | Support tracking and closing fds post-fork in ev_poll_posixGravatar Eric Gribkoff2018-08-23
| | | | | | | | | | | | | | This extends gRPC Python's fork compatibility to Mac OS, which does not support epoll The changes are a no-op if fork support is disabled
* | Move _server_cert_config_fetcher_wrapper to credentials.pyx.pxiGravatar Mehrdad Afshari2018-08-22
| |
* | Python post-fork handler: exit if grpc shutdown failsGravatar Eric Gribkoff2018-08-22
| |
* | 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.
| * Configure module level loggers with basicConfig()Gravatar Naresh2018-08-17
|/ | | | | | | | | | | Module level loggers were introduced to gRPC Python in 06e1683, but missed configuring these, leading to 'No handler found for module' errors. Using the root logger implicitly calls basicConfig() which does the basic configuration for the logging system by creating a StreamHandler with a default Formatter and adding it to the logger. But this is not the case for module level loggers. Fix this issue by explicitly calling logging.basicConfig().
* Replace is by == for a status comparisonGravatar Paul Petit2018-08-16
| | | | | | | This worked fine with CPython, but the condition was always evaluated to False with Pypy, causing bugs down the road. Tested with Pypy 6.0.
* check if channel is closed before starting core opsGravatar Eric Gribkoff2018-08-09
|
* Merge pull request #15993 from ghostwriternr/python_bazel_2Gravatar Nathaniel Manista2018-08-03
|\ | | | | Minimal Bazel BUILD files for grpcio Python.
* | Add op index support for custom hooksGravatar Mehrdad Afshari2018-08-02
| |
| * Minimal Bazel BUILD files for grpcio PythonGravatar Naresh2018-08-02
| | | | | | | | | | Follow-up on the additions in #15992. Pad the grpcio Python package with necessary BUILD files along with 2 simple tests.
* | Add low-level Cython debug/expansion hooksGravatar Mehrdad Afshari2018-08-02
|/
* Add a matching _unwrap_grpc_argGravatar Mehrdad Afshari2018-07-31
|
* Add Cython functionality to directly wrap grpc_argGravatar Mehrdad Afshari2018-07-30
|
* Regenerate projectsGravatar Srini Polavarapu2018-07-19
|
* Merge pull request #15274 from JackOfMostTrades/verify-callback-coreGravatar Mark D. Roth2018-06-19
|\ | | | | Create verify_peer_options when creating ssl credentials to support a peer verification callback
* \ Merge pull request #15694 from srini100/bump-to-v1.14Gravatar Srini Polavarapu2018-06-14
|\ \ | | | | | | Bump master to v1.14
* | | Specify thread-safety of grpc-created channelsGravatar Nathaniel Manista2018-06-14
| | |
* | | Refactor: reorderGravatar Mehrdad Afshari2018-06-14
| | |
* | | Refactor: avoid calling with_call APIGravatar Mehrdad Afshari2018-06-14
| | | | | | | | | | | | | | | | | | | | | Avoid calling the public self.with_call API internally and opt for sharing the method body in a separate private method and calling that instead.
* | | Re-raise grpc.RpcError instead of eating itGravatar Mehrdad Afshari2018-06-13
| | |
* | | Refactor: rename _LocalFailure to _FailureOutcomeGravatar Mehrdad Afshari2018-06-13
| | |
* | | Optimize blocking intercepted stream-unary callsGravatar Mehrdad Afshari2018-06-13
| | | | | | | | | | | | | | | | | | | | | | | | Change the blocking stream-unary call code path to rely on the underlying synchronous API, as opposed to calling the Future-based underlying async API and invoking `.result()` on the returned Future object immediately, which can be resource-intensive.
* | | Optimize blocking intercepted unary-unary callsGravatar Mehrdad Afshari2018-06-13
| | | | | | | | | | | | | | | | | | | | | | | | Change the blocking unary-unary call code path to rely on the underlying synchronous API, as opposed to calling the Future-based underlying async API and invoking `.result()` on the returned Future object immediately, which can be resource-intensive.
| | * Create verify_peer_options when creating ssl credentials in order to expose ↵Gravatar Ian Haken2018-06-12
| |/ |/| | | | | | | | | a verification callback option. These options are not yet exposed to languages outside of core.
* | Merge pull request #15707 from ghostwriternr/fix-cython-file-endingsGravatar Nathaniel Manista2018-06-11
|\ \ | | | | | | Update grpc_gevent cython files to include .pxi.
* \ \ Merge pull request #15689 from ↵Gravatar Nathaniel Manista2018-06-11
|\ \ \ | | | | | | | | | | | | | | | | nathanielmanistaatgoogle/generic-rpc-handler-validation Check conformance to grpc.GenericRpcHandler type.
| | * | 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.
| | * Regenrate projectsGravatar Srini Polavarapu2018-06-08
| |/ |/|
* | Merge pull request #15682 from mehrdada/bump-pylintGravatar Mehrdad Afshari2018-06-08
|\ \ | | | | | | Bump pylint to 1.9.2
| | * Check conformance to grpc.GenericRpcHandler typeGravatar Nathaniel Manista2018-06-08
| |/ |/|
* | Merge pull request #14879 from santoshankr/python_ssl_session_cache_lruGravatar Nathaniel Manista2018-06-08
|\ \ | | | | | | TLS session resumption support for Python clients.
| | * Change exception type to AssertErrorGravatar Mehrdad Afshari2018-06-08
| | |
| | * Remove comment that is no longer relevantGravatar Mehrdad Afshari2018-06-08
| | |
| | * Implement abstract methods _LocalFailure inheritsGravatar Mehrdad Afshari2018-06-07
| | |
| | * Fix arguments-differ pylint warningGravatar Mehrdad Afshari2018-06-07
| | |
| | * Remove unnecessary pylint suppressionsGravatar Mehrdad Afshari2018-06-07
| | |
| | * Fix inconsistent-return-statements pylint warningsGravatar Mehrdad Afshari2018-06-07
| | |
| | * Fix code to pass len-as-condition pylint testGravatar Mehrdad Afshari2018-06-07
| |/ |/|
* | Merge pull request #14557 from ghostwriternr/py-custom-loggerGravatar Nathaniel Manista2018-06-07
|\ \ | | | | | | Update logging in Python to use module-level logger.
| | * TLS session resumption support for Python clientsGravatar Santosh Ananthakrishnan2018-06-07
| |/ |/| | | | | | | | | | | | | This change adds an experimental ssl_session_cache_lru function to the Python API that returns an encapsulated grpc_ssl_session_cache (#14483). Python clients may use this object as an argument for the grpc.ssl_session_cache channel option if they wish to cache and resume TLS sessions with a server.
* | Merge pull request #15666 from nathanielmanistaatgoogle/15662Gravatar Nathaniel Manista2018-06-07
|\ \ | | | | | | Retain references to channel arguments.
| * | Retain references to channel argumentsGravatar Nathaniel Manista2018-06-06
| | | | | | | | | | | | | | | This works around issue 15662 which is not as easy to implement as I would prefer it to be.
* | | Merge pull request #15607 from kpayson64/upmerge_changesGravatar kpayson642018-06-04
|\ \ \ | | | | | | | | Upmerge changes
| * \ \ Merge remote-tracking branch 'upstream/v1.12.x' into upmerge_changesGravatar kpayson642018-06-01
| |\ \ \
| | * | | Use gevent greenlets for metadata callbacksGravatar kpayson642018-05-31
| | | | |