ANN: Pyrex 0.6

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Thu Mar 27 01:23:29 EST 2003


Pyrex 0.6 is now available:

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

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
note:

   - 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
     removed).

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
automatically.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg






More information about the Python-list mailing list