[Python-Dev] expy: an expressway to extend Python

Stefan Behnel stefan_ml at behnel.de
Sat Aug 8 14:55:57 CEST 2009


Yingjie Lan wrote:
> This is to announce the initial release of expy 0.1.0.
> 
> More details at http://expy.sourceforge.net/

I'm clearly biased, but my main concern here is that expy requires C code
to be written inside of strings. There isn't any good editor support for
that, so I doubt that expy is good for anything but very thin wrappers (as
in the examples you presented).

That said, you might want to look at the argument unpacking code generated
by Cython. It's highly optimised through specialisation and has been
benchmarked quite a bit faster than the generic Python C-API functions for
tuple/keyword extracting. Since argument conversion seems to be more or
less all that expy really does, maybe you want to reuse that code.

Stefan



More information about the Python-Dev mailing list