Cython 0.17 released

S

Stefan Behnel

Hello everyone,

on behalf of the Cython project team, I'm proud to announce the final
release of Cython 0.17. This is a 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.

With this release, the Cython compiler successfully passes over 14,000
regression tests of the CPython 3.3 test suite and almost 13,000 tests of
the CPython 2.7 suite, with only some 300 and 200 failures respectively.
This makes it a serious alternative to interpreted Python execution that
integrates natively with the complete CPython ecosystem.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top