[Cython] Cython 0.20.2 beta

Robert Bradshaw robertwb at gmail.com
Fri May 30 03:06:04 CEST 2014


I've pushed a beta for the 0.20.2 can be found at
http://cython.org/release/Cython-0.20rc1.tar.gz . This is a
bugfix-only release, more development is going on for 0.21 which will
also be released soon. Note, however, that the 0.20.x branch is the
last to support older versions of Python (pre 2.6 or 3.2).

Please try it out and report back.

- Robert


Features added

Some optimisations for set/frozenset instantiation.
Support for C++ unordered_set and unordered_map.

Bugs fixed

Access to attributes of optimised builtin methods (e.g.
[].append.__name__) could fail to compile.
Memory leak when extension subtypes add a memory view as attribute to
those of the parent type without having Python object attributes or a
user provided dealloc method.
Compiler crash on readonly properties in "binding" mode.
Auto-encoding with c_string_encoding=ascii failed in Py3.3.
Crash when subtyping freelist enabled Cython extension types with
Python classes that use __slots__.
Freelist usage is restricted to CPython to avoid problems with other
Python implementations.
Memory leak in memory views when copying overlapping, contiguous slices.
Format checking when requesting non-contiguous buffers from
cython.array objects was disabled in Py3.
C++ destructor calls in extension types could fail to compile in clang.
Buffer format validation failed for sequences of strings in structs.
Docstrings on extension type attributes in .pxd files were rejected.


More information about the cython-devel mailing list