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.
It seems that what I advertised before as Pyrex 0.3.1 was the wrong version. The correct one should be there now!
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.
participants (1)
-
greg