Cython v0.12 Release Notes

Release Date: 2009-11-23 // over 14 years ago
  • ๐Ÿ”‹ Features added

    • Type inference with the infer_types directive

    • ๐Ÿ‘ Seamless C++ complex support

    • ๐Ÿ†• Fast extension type instantiation using the normal Python meme obj = MyType.new(MyType)

    • ๐Ÿ‘Œ Improved support for Py3.1

    • Cython now runs under Python 3.x using the 2to3 tool

    • โœ… unittest support for doctests in Cython modules

    • Optimised handling of C strings (char*): for c in cstring[2:50] and cstring.decode()

    • Looping over c pointers: for i in intptr[:50].

    • pyximport improvements

    • cython_freeze improvements

    ๐Ÿ› Bugs fixed

    • ๐Ÿ›  Many bug fixes

    Other changes

    • Many other optimisation, e.g. enumerate() loops, parallel swap assignments (a,b = b,a), and unicode.encode()

    • More complete numpy.pxd