31 Jul 17:32
Using __builtin__compile()
From: David Griffin <gripfin <at> gmail.com>
Subject: Using __builtin__compile()
Newsgroups: gmane.comp.lang.jython.user
Date: 2008-07-31 15:32:56 GMT
Subject: Using __builtin__compile()
Newsgroups: gmane.comp.lang.jython.user
Date: 2008-07-31 15:32:56 GMT
Can anyone point me to a place where I can read about the arguments
required to this method.
(I want to cache compiled scripts to use in an embedded interpreter).
I have read the javadoc, bought an O'Reilly book, but so far I still
only know this:
public static PyCode compile(java.lang.String data,
java.lang.String filename,
java.lang.String type)
that is, I have not found any info as to what "type" is.
Perhaps it works with either a String or a .py file and the 3rd
parameter tells it what you are supplying ? (with the 1st or 2nd
parameter being unused ?).
Anyone suggest a weblink where I can read some more ?
Thanks in advance.
David Griffin
(finally done lurking).
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)
RSS Feed