0.12 (2009-11-23)

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