Cython compiler 0.28 released
Stefan Behnel
stefan_ml at behnel.de
Tue Mar 13 16:04:19 EDT 2018
Hi everyone,
I'm pleased to announce the immediate availability of Cython 0.28, after
almost half a year of development.
https://pypi.python.org/pypi/Cython/0.28
What is Cython?
Cython is a widely used and production proven optimising static compiler
for both the Python programming language and the extended Cython
programming language, and one of the pillars of the high-performance Python
ecosystem. It provides direct access to C/C++ libraries and data types as a
language feature, and makes writing fast native C extensions for Python as
easy as Python itself.
The major new features in 0.28 include:
* Cdef classes can now multiply inherit from ordinary Python classes,
as long as (exactly) one base class is an extension type.
* The "const" modifier can be applied to memoryview declarations to allow
read-only buffers as input.
* C code in the docstring of a "cdef extern" block is copied verbatimly
into the generated file.
The changelog lists the various other big and small features, optimisations
and bug fixes that went into this release:
https://github.com/cython/cython/blob/0.28/CHANGES.rst
Have fun,
Stefan
More information about the Python-announce-list
mailing list