src/python/grpcio/grpc/_cython/README.rst
Package for the GRPC Python Cython layer.
Cython is both a superset of the Python language with extensions for dealing
with C types and a tool that transpiles this superset into C code. It provides
convenient means of statically typing expressions and of converting Python
strings to pointers (among other niceties), thus dramatically smoothing the
Python/C interop by allowing fluid use of APIs in both from the same source.
See the wonderful Cython website_.
basestring).Py_INCREF-ing and Py_DECREF-ing around error handlers and such.
Cython takes care of that automagically.Nothing additional will be required for users. PyPI packages will contain Cython generated C code and thus not necessitate a Cython installation.
A typical edit-compile-debug cycle now requires Cython. We install Cython in
the virtualenv generated for the Python tests in this repository, so
initial test runs may take an extra 2+ minutes to complete. Subsequent test
runs won't reinstall Cython (unless required versions change and the
virtualenv doesn't have installed versions that satisfy the change).
.. _Cython website: http://cython.org/