ANN: Pyrex

greg greg at
Sat May 17 12:14:07 CEST 2008

Pyrex is now available:

Base classes no longer need to be specified in a forward
declaration of an extension type, or in the implementation
part of an extension type defined in a .pxd file.

Also, I've come up with an even better way of handling
circular cimports involving structs, unions and extension
types. You can now say things like

   from spam import struct Foo, union Blarg, class Ham

This simultaneously imports the name and forward-declares
it in the other module.

What is Pyrex?

Pyrex is a 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

More information about the Python-announce-list mailing list