0.11.2 (2009-05-20)

Features added

  • There’s now native complex floating point support! C99 complex will be used if complex.h is included, otherwise explicit complex arithmetic working on all C compilers is used. [Robert Bradshaw]
  1. cdef double complex a = 1 + 0.3j
  2. cdef np.ndarray[np.complex128_t, ndim=2] arr = \
  3. np.zeros(10, np.complex128)
  • Cython can now generate a main()-method for embedding of the Python interpreter into an executable (see #289) [Robert Bradshaw]

  • @wraparound directive (another way to disable arr[idx] for negative idx) [Dag Sverre Seljebotn]

  • Correct support for NumPy record dtypes with different alignments, and “cdef packed struct” support [Dag Sverre Seljebotn]

  • @callspec directive, allowing custom calling convention macros [Lisandro Dalcin]

Bugs fixed

Other changes

  • Bug fixes and smaller improvements. For the full list, see [1].