Issue222840
Created on 2000-11-18.19:26:55 by bckfnn, last changed 2000-11-18.22:50:29 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 19:26:55 | bckfnn | create |
Created on 2000-11-18.19:26:55 by bckfnn, last changed 2000-11-18.22:50:29 by bckfnn.
Messages | |||
---|---|---|---|
msg126 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.19:26:55 | |
A simple import "import foo.bar" is treated diffrently in jpython and jpythonc. In the interpreter, the toplevel module (foo) is inserted in the global namespace, in jpythonc the lowest level module (bar) is inserted. i:\temp\x2>type x.py import javax.swing.Icon print javax i:\temp\x2>jpython x.py <java package javax at 5033532> i:\temp\x2>jpythonc x.py processing x Required packages: javax.swing Creating adapters: Creating .java files: x module Compiling .java to .class... Compiling with args: ['I:\\JAVA\\JDK1.3\\bin\\javac', '-classpath', 'I:\\java\\J Python-1.1rc1\\jpython.jar;i:\\java\\jdk1.3\\jre\\lib\\rt.jar;i:\\java\\JPython- 1.1rc1;i:\\java\\JPython-1.1rc1\\jpython.jar;d:\\java\\javaCC\\JavaCC.zip;e:\\or ant\\jdbc\\lib\\classes111.zip;d:\\java\\jce-aba-1.0\\lib-1.2\\jce.zip;d:\\java\ \jasmine;d:\\java\\xml4j\\xml4j.jar;.', '.\\jpywork\\x.java'] 0 Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. i:\temp\x2>cd jpywork i:\temp\x2\jpywork>java x javax.swing.Icon i:\temp\x2\jpywork>jpython JPython 1.1rc1 on java1.3beta (JIT: null) Copyright (C) 1997-1999 Corporation for National Research Initiatives >>> ^Z |
|||
msg127 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.22:50:29 | |
Fixed in jythonc |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 19:26:55 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup