
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.
participants (1)
-
Greg Ewing (using news.cis.dfn.de)