I am encountering some peculiar problems importing Jython modules.  In particular, the following works (for a, b, c nested directories containing __init__.py, and XYzebra a Jython module):

 

            import a.b.c.XYzebra

 

as does

 

            import a.b.c

            import a.b

            import a

            from a.b.c import XYzebra

 

However, the following does not work

 

            from a.b.c import XYzebra

 

nor does

 

            import a

            import a.b

            import a.b.c

            from a.b.c import XYzebra

 

There result in: "ImportError: cannot import name XYzebra"

 

(Of course, in the cases where the import nominally succeeds, XYzebra is unable to import a Java class it needs.)

 

Operations like this were working before, as I recall.  Any clues as to what sort of environment problems etc. could cause this sort of bizarre behavior?

 

(I'm running on Solaris and the problem occurs under both the 1.2 and 1.3 versions of the JRE.)

 

Robert Wentworth