PyInline Released: Put C source code directly "inline" with your Python!

Ken Simpson ksimpson at
Wed Aug 29 23:25:39 CEST 2001

> Question:
> When PyInline supports Perl, will Python users be able to inline Perl
> modules that inline other languages? The mind boggles. PyInline is a nice
> piece of work.

Indeed, when someone writes PyInline.Perl, it will be possible to write
horrors such as the following:

import PyInline

m ="""
use Inline Python => <<'END_OF_PYTHON';
def add(a, b)
    return a + b
""", language="Perl")

print m.add(5, 6)
I don't even want to think of the implications...


More information about the Python-list mailing list