Message3390
The following code works in jython 2.2.1 but not in 2.5a1.
Jython 2.5a1+ (asm:4943:4945, Jul 15 2008, 15:30:04)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_06
Type "help", "copyright", "credits" or "license" for more information.
>>> from javax.swing import *
>>> jl = JLabel()
>>> print jl.class
Traceback (most recent call last):
(no code object) at line 0
File "<stdin>", line 0
XXX: missing text
^
SyntaxError: mismatched input class expecting NAME (<stdin>, line 0)
changing this by printing jl.getClass() instead works ok |
|
Date |
User |
Action |
Args |
2008-08-02 20:44:58 | cprinos | set | recipients:
+ cprinos |
2008-08-02 20:44:57 | cprinos | set | messageid: <1217709897.96.0.585013612633.issue1094@psf.upfronthosting.co.za> |
2008-08-02 20:44:57 | cprinos | link | issue1094 messages |
2008-08-02 20:44:57 | cprinos | create | |
|