Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2788

Cython compiler 0.28 released

From Stefan Behnel <stefan_ml@behnel.de>
Newsgroups comp.lang.python.announce
Subject Cython compiler 0.28 released
Date 2018-03-13 21:04 +0100
Message-ID <mailman.55.1520973534.1867.python-announce-list@python.org> (permalink)
References <0950280c-53ab-dc24-ea18-51db7f41aea9@behnel.de>

Show all headers | View raw


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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Cython compiler 0.28 released Stefan Behnel <stefan_ml@behnel.de> - 2018-03-13 21:04 +0100

csiph-web