Message4907

Author heuermh
Recipients heuermh
Date 2009-07-15.20:20:03
SpamBayes Score 5.9222593e-06
Marked as misclassified No
Message-id <1247689203.74.0.647704531507.issue1400@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2009-07-15 20:20:03heuermhsetrecipients: + heuermh
2009-07-15 20:20:03heuermhsetmessageid: <1247689203.74.0.647704531507.issue1400@psf.upfronthosting.co.za>
2009-07-15 20:20:03heuermhlinkissue1400 messages
2009-07-15 20:20:03heuermhcreate