Message130

Author bckfnn
Recipients
Date 2000-11-18.19:33:14
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The API used in org.python.code.imp is different between jpython 
and jpythonc. jpython uses importAll(), importOne() and importFrom().
The code generated by jpythonc also uses importAll(), but uses 
imp.load() instead of the importOne() and importFrom() methods.

By making both use the same API, it is a lot easier to implement 
the __import__ hook on both jpython and jpythonc. The patch below
makes jpythonc use the importOne() and importFrom().

History
Date User Action Args
2008-02-20 17:16:41adminlinkissue222842 messages
2008-02-20 17:16:41admincreate