ANN: Pyrex 0.3.1

greg greg at cosc.canterbury.ac.nz
Mon Jun 17 06:16:12 CEST 2002


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.





More information about the Python-list mailing list