Message213

Author bckfnn
Recipients
Date 2000-11-27.20:48:30
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
<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.
History
Date User Action Args
2008-02-20 17:16:45adminlinkissue223627 messages
2008-02-20 17:16:45admincreate