Cython v0.16 Release Notes

Release Date: 2012-04-21 // almost 12 years ago
  • ๐Ÿ”‹ Features added

    • โœจ Enhancements to Cython's function type (support for weak references, default arguments, code objects, dynamic attributes, classmethods, staticmethods, and more)

    • ๐Ÿ“„ Fused Types - Template-like support for functions and methods CEP 522 (docs)

    • ๐Ÿ“„ Typed views on memory - Support for efficient direct and indirect buffers (indexing, slicing, transposing, ...) CEP 517 (docs)

    • super() without arguments

    • Final cdef methods (which translate into direct calls on known instances)

    ๐Ÿ› Bugs fixed

    • ๐Ÿ›  fix alignment handling for record types in buffer support

    Other changes

    • ๐Ÿ‘Œ support default arguments for closures

    • search sys.path for pxd files

    • ๐Ÿ‘Œ support C++ template casting

    • ๐Ÿ— faster traceback building and faster generator termination

    • ๐Ÿ‘Œ support inplace operators on indexed buffers

    • ๐Ÿ‘ allow nested prange sections