Message179

Author bckfnn
Recipients
Date 2000-11-18.19:41:34
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The statement

from com.foo.bar import *

(where com.foo.bar is a Java package) works only if the package is stored in a
jar file. If the package is in a directory you must explicitly import each
symbol, e.g.

from com.foo.bar import Baz

This caused me a lot of confusion, so if this is the way it is intended to work
the documention should make it clear.

Note that from the standpoint of someone writing test scripts for Java code it
would be highly desireable for import * to work properly.
History
Date User Action Args
2008-02-20 17:16:44adminlinkissue222864 messages
2008-02-20 17:16:44admincreate