Message7171

Author tklink
Recipients MrMeanie, amak, tklink
Date 2012-05-30.07:38:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338363514.33.0.889194528653.issue1867@psf.upfronthosting.co.za>
In-reply-to
Content
This problem is not related only to from-import but also to regular import. It's interesting that some imports work, some don't. Look:

Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_04
Type "help", "copyright", "credits" or "license" for more information.

>>> dir(java)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'java' is not defined

>>> import java
>>> dir(java)
['__name__', 'io']

>>> import java.security
>>> dir(java.security)
['__name__']
>>> import java.security.spec
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named spec
History
Date User Action Args
2012-05-30 07:38:34tklinksetmessageid: <1338363514.33.0.889194528653.issue1867@psf.upfronthosting.co.za>
2012-05-30 07:38:34tklinksetrecipients: + tklink, amak, MrMeanie
2012-05-30 07:38:34tklinklinkissue1867 messages
2012-05-30 07:38:33tklinkcreate