ANN: Pyrex 0.6

Greg Ewing (using
Thu, 27 Mar 2003 18:23:29 +1200

Pyrex 0.6 is now available:

There are several new features in this release:

   - Command line options for reporting version number,
     requesting a listing file and specifying the name of
     the generated C file.

   - An 'include' statement for including other Pyrex files.

   - Improved facilities for exporting declarations from
     one Pyrex file to another.

   - Python syntax compatibility enhancements: try-except-else,
     multiple statements on one line.

   - A __delete__ special method has been added to extension
     types (invoked when using del on an attribute).

There is one backward-incompatible change that you should

   - C character literals now have a distinct syntax: c'X'
     (the automatic coercion of char * to char that Pyrex
     did before proved to be too error-prone and has been

There are also some other minor improvements and a slew
of bug fixes -- see the CHANGES file for a full list.

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

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand