Message4907
Expressions in interpreter evaluate to True or False
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_14
Type "help", "copyright", "credits" or "license" for more information
>>> True
True
>>> (None is None)
True
but when evaluated by a JSR 223 ScriptEngine fail to return a value:
$ java Example
result: null
result: null
See attached Example.java.
This is with jython-engine.jar from https://scripting.dev.java.net dated
08 aug 2008 and jython.jar version 2.2.1 (the most recent I could find
in the maven central repository). |
|
Date |
User |
Action |
Args |
2009-07-15 20:20:03 | heuermh | set | recipients:
+ heuermh |
2009-07-15 20:20:03 | heuermh | set | messageid: <1247689203.74.0.647704531507.issue1400@psf.upfronthosting.co.za> |
2009-07-15 20:20:03 | heuermh | link | issue1400 messages |
2009-07-15 20:20:03 | heuermh | create | |
|