PyInline Released: Put C source code directly "inline" with your Python!
Ken Simpson
ksimpson at ttul.org
Wed Aug 29 17:25:39 EDT 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 = PyInline.build("""
use Inline Python => <<'END_OF_PYTHON';
def add(a, b)
return a + b
END_OF_PYTHON
""", language="Perl")
print m.add(5, 6)
I don't even want to think of the implications...
TTUL
Ken
More information about the Python-list
mailing list