Issue222842

classification
Title: jpythonc import bugs
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:33:14 by bckfnn, last changed 2000-11-18.22:54:42 by bckfnn.

Messages
msg130 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:33:14
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().

msg131 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:54:42
Fixed in jythonc.
History
Date User Action Args
2000-11-18 19:33:14bckfnncreate