Message6728

Author pjenvey
Recipients alex.gronholm, pjenvey
Date 2011-11-21.20:54:32
SpamBayes Score 1.1712621e-08
Marked as misclassified No
Message-id <1321908872.65.0.355812584267.issue1819@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately I don't time to get to this any time soon Alex.

What I can tell you about this bug is that Jython would have created a 'Proxy' POJO for those Python classes. It would fulfill the Java interface contract required from other Java code.

I believe the proxy would end up calling Py.java2py on all arguments passed to it and pass the results to actual the Python function. Py.java2py goes through the whole 'adapter' chain, which should have noticed a null and converted it to Py.None.

Obviously one of those pieces of the picture is not playing out as I think it should. Maybe I'm wrong about the proxy passing *all arguments* through java2py, because I'm pretty sure this already works as expected: Py.java2py(null) == Py.None
History
Date User Action Args
2011-11-21 20:54:32pjenveysetmessageid: <1321908872.65.0.355812584267.issue1819@psf.upfronthosting.co.za>
2011-11-21 20:54:32pjenveysetrecipients: + pjenvey, alex.gronholm
2011-11-21 20:54:32pjenveylinkissue1819 messages
2011-11-21 20:54:32pjenveycreate