[pypy-dev] Python FFI
Armin Rigo
arigo at tunes.org
Wed May 16 08:36:28 CEST 2012
Hi Stefan,
On Wed, May 16, 2012 at 7:01 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> I'm with Jean-Paul here.
...for a reason that might be unrelated to Jean-Paul's original
complain: it's not like Cython gives first-class object manipulation
on the result of parsing its .pyx files... well, too bad but Python
is not Lisp :-)
> I don't think there's anything wrong with requiring declarations for
> external C code to live in external modules.
I'm not against the idea of recognizing also Cython syntax extensions
in the declarations, and indeed external files are a better idea than
big inlined strings then. But I would also like to try out different
paths. In one of them, these inline declarations would contain mostly
just "#include <foo.h>" and the real header would be processed with
the help of the C compiler.
A bientôt,
Armin.
More information about the pypy-dev
mailing list