Message7171
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 |
|
Date |
User |
Action |
Args |
2012-05-30 07:38:34 | tklink | set | messageid: <1338363514.33.0.889194528653.issue1867@psf.upfronthosting.co.za> |
2012-05-30 07:38:34 | tklink | set | recipients:
+ tklink, amak, MrMeanie |
2012-05-30 07:38:34 | tklink | link | issue1867 messages |
2012-05-30 07:38:33 | tklink | create | |
|