Author pjenvey
Recipients anamitrab, otmarhumbel, pjenvey
Date 2011-02-23.05:02:16
SpamBayes Score 2.82187e-06
Marked as misclassified No
Message-id <>
Like I said on the ML ( ), the fact that the jsr223 ScriptEngineScope has always done this __tojava__/Py.java2py dance must cause this returns a java.sql.Date. That doesn't necessarily mean Py.java2py(java.sql.Date) will give you a back

Plus I think this "feature" could cause a significant slowdown of python code executing with the scope of the jsr223 context. Historically it's behavior adopted from the old jsr223 implementation. It needs to be rethought

Anamitra, thanks for the logging this, in your case you may be able to hack around the problem by disabling's tojava conversion by calling this after importing datetime:


this issue likely also affects datetime.time/datetime, Decimal and threading.Thread objects
Date User Action Args
2011-02-23 05:02:16pjenveysetmessageid: <>
2011-02-23 05:02:16pjenveysetrecipients: + pjenvey, otmarhumbel, anamitrab
2011-02-23 05:02:16pjenveylinkissue1709 messages
2011-02-23 05:02:16pjenveycreate