Issue223627
Created on 2000-11-27.20:48:30 by bckfnn, last changed 2000-11-30.08:56:52 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-27 20:48:30 | bckfnn | create |
Created on 2000-11-27.20:48:30 by bckfnn, last changed 2000-11-30.08:56:52 by bckfnn.
Messages | |||
---|---|---|---|
msg213 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-27.20:48:30 | |
<pre> TOP/ a.py p0/ __init__.py x.py y.py p1/ __init__.py z.py </pre> all python files just contain: print __name__ except a.py: import p0.x print __name__ and x.py: import y import p1.z print __name__ If one executes a.py from TOP with CPython 1.5/1.6/2.0 everything works fine. If one compiles a.py with jythonc and the --deep option, p0.y will not be compiled. The relative import rule is ignored by jythonc. In my opinion this is a bug, and I know how possibly fix this. |
|||
msg214 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-30.08:56:52 | |
compile.py 2.15; SimpleCompiler.py 2.10; Fixed in the situations where the dotted package name matches the directory structure. The __path__ is *not* used for finding submodules, and I doubt it ever will. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-27 20:48:30 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup