Cython v0.12.1 Release Notes

Release Date: 2010-02-02 // about 14 years ago
  • ๐Ÿ”‹ Features added

    • Type inference improvements.

      • There have been several bug fixes and improvements to the type inferencer.
      • Notably, there is now a "safe" mode enabled by setting the infer_types directive to None. (The None here refers to the "default" mode, which will be the default in 0.13.) This safe mode limits inference to Python object types and C doubles, which should speed up execution without affecting any semantics such as integer overflow behavior like infer_types=True might. There is also an infer_types.verbose option which allows one to see what types are inferred.
    • The boundscheck directive works for lists and tuples as well as buffers.

    • ๐Ÿ‘ len(s) and s.decode("encoding") are efficiently supported for char* s.

    • ๐Ÿ Cython's INLINE macro has been renamed to CYTHON_INLINE to reduce conflict and has better support for the MSVC compiler on Windows. It is no longer clobbered if externally defined.

    • ๐Ÿ“ฆ Revision history is now omitted from the source package, resulting in a 85% size reduction. Running make repo will download the history and turn the directory into a complete Mercurial working repository.

    • โš  Cython modules don't need to be recompiled when the size of an external type grows. (A warning, rather than an error, is produced.) This should be helpful for binary distributions relying on NumPy.

    ๐Ÿ› Bugs fixed

    • ๐Ÿš€ Several other bugs and minor improvements have been made. This release should be fully backwards compatible with 0.12.

    Other changes