[capi-sig] Announcing project PyBindGen

Stefan Behnel python_capi at behnel.de
Tue Sep 25 12:14:46 CEST 2007


Gustavo Carneiro wrote:
>   I'd like to announce a new project for producing python extensions, called
> PyBindGen.  It follows a radical new path for Python bindings generation: it
> is itself written in (gasp!) Python!

As are the wrapper generators, as it seems:

http://codebrowse.launchpad.net/~gjc/pybindgen/devel/annotate/gjc%40inescporto.pt-20070924134815-90pequnwfrfy3i3c?file_id=foomodulegen.py-20070602135951-l3yn3vrhs0ctn6ux-1

Do you really have to write all of this by hand to 'generate' a wrapper? How
do you make it functional? (or does it require an exact API mapping?)

I can't help the feeling that Pyrex/Cython code is quite a bit more readable -
and definitely less verbose. Any chance you could motivate your design a little?

Stefan



More information about the capi-sig mailing list