ANN: Pyrex 0.3.1

greg greg@cosc.canterbury.ac.nz
Mon, 17 Jun 2002 16:16:12 +1200


Pyrex 0.3.1 is now available:

   http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/

Some fairly major problems with the new extension
types facility have been fixed.

There are also some new features:

  -  Default argument values, * and ** arguments are
     now supported in Pyrex-defined Python functions.

  -  External C functions with variable argument
     lists can be declared and called.

  -  Full C type declaration syntax now supported,
     including pointer-to-function types.

  -  More special methods for extension types:
     __delitem__, __delslice__, __getattr__,
     __setattr__, __delattr__

  -  ctypedef statement.

  -  String literal handling improved (triple
     quoted strings, escape sequences in strings
     should now work).

  -  Hex, octal and imaginary literals.

  -  Docstrings.


What is Pyrex?
--------------

Pyrex is a new language for writing Python extension modules.
It lets you freely mix operations on Python and C data, with
all Python reference counting and error checking handled
automatically.