[Cython] Cython 0.19 released

Stefan Behnel stefan_ml at behnel.de
Fri Apr 19 17:40:20 CEST 2013


Hi all,

Cython 0.19 has cleared the dockyard. This is a feature release that adds
some major usability features especially for code that needs to run in both
Py2 and Py3, as well as better Python compatibility and optimisations.

You can get it from here:

http://cython.org/release/Cython-0.19.tar.gz

http://cython.org/release/Cython-0.19.zip

Release notes:
https://github.com/cython/cython/blob/29bf3493fdc80cb3261a9dfb9f73e3ccd46fec66/CHANGES.rst

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


The major new features include:

* New directives ``c_string_type`` and ``c_string_encoding`` to
  automatically convert between C strings and the different Python
  string types.

* Keyword arguments are supported for cdef functions, including external
  C/C++ functions.

* New freelist decorator for extension types.

* Fast extension type instantiation using the ``Type.__new__(Type)`` idiom
  has gained support for passing arguments.

* Slicing was optimised for several builtin types and otherwise conforms
  better with Python semantics for user defined types.

* The mapping of dict view/item methods in Python 3 was improved.


Have fun,

Stefan


More information about the cython-devel mailing list