Cython 0.17 released

Stefan Behnel stefan_ml at behnel.de
Sat Sep 1 13:33:02 CEST 2012


Hello everyone,

on behalf of the Cython project team, I'm proud to announce the final
release of Cython 0.17. This is another major step forward in the
development of the Cython programming language that will make life easier
for a lot of users, rounds up some rough edges of the compiler and adds
(preliminary) support for CPython 3.3 and PyPy.

It is also the first final release of an implementation of PEP 380
(generator delegation), before it will eventually appear in CPython 3.3.


=== Download and Documentation ===

Download: http://cython.org/release/Cython-0.17.tar.gz

Release notes: http://wiki.cython.org/ReleaseNotes-0.17

Homepage: http://cython.org/

Documentation: http://docs.cython.org/


=== Major features of this release ===

* vastly improved integration with the C++ STL containers

  http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html#standard-library

  http://docs.cython.org/src/tutorial/strings.html#c-strings

* "yield from" delegation between generators (PEP 380)

  http://www.python.org/dev/peps/pep-0380/

* alpha quality support for PyPy (via cpyext)

  http://docs.cython.org/src/userguide/pypy.html


=== What is Cython ? ===

Cython is a language with an optimising compiler that makes writing C
extensions for the Python language as easy as Python itself.

The Cython language is a superset of the Python language that additionally
supports calling C functions and declaring C types on variables and class
attributes. This allows the compiler to generate very efficient C code from
Cython code. The C code is generated once and then compiles with all major
C/C++ compilers in CPython 2.4 and later, including Python 3.x. PyPy
support is work in progress (on both sides) and is considered mostly usable
in Cython 0.17.

All of this makes Cython the ideal language for wrapping external C
libraries, embedding CPython into existing applications, and for fast C
modules that speed up the execution of Python code.


Have fun,

Stefan


More information about the Python-announce-list mailing list