http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
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.
New Features in 0.4
-------------------
- "cdef extern from" statement allows inclusion
of C header files to be specified, solving
a number of problems including:
- Clashes between Pyrex and C declarations,
due to "const" and other reasons
- Windows-specific features required in
function declarations
- Helping deal with types such as "size_t"
- Helping deal with functions defined as
macros
- Access to internals of pre-existing extension
types is now possible by placing an extension
type declaration inside a "cdef extern from"
block.
Bug Fixes
---------
- Error not reported properly when passing
wrong number of args to certain special
methods of extension types.
[Mitch Chapman <mitchc...@earthlink.net>]
- Compile-time crash when defining an extension
type with a __hash__ method.
Minor Enhancements
------------------
- Hashing of the scanner source file made more
platform-independent, making spurious regeneration
of the pickle less likely.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg