Message6295
 
            
            
            
 
   
   
 
  | It seems the original jsr223 impl had a similar issue to this one:
https://scripting.dev.java.net/issues/show_bug.cgi?id=5
Its fix (which was really for Jython 2.2) basically added this line to __setitem__
            if (!(obj instanceof PyClass)) {
                obj = JythonScriptEngine.py2java(value);
            }
This isn't the most efficient fix in the world (adding an instanceof check for any kind of assignment). But whatever -- I propose the attached patch with a similar fix |  |
 
| Date | User | Action | Args |  | 2010-12-24 00:22:34 | pjenvey | set | messageid: <1293150154.55.0.685476613049.issue1681@psf.upfronthosting.co.za> |  | 2010-12-24 00:22:34 | pjenvey | set | recipients:
  + pjenvey, otmarhumbel, zyasoft, nriley |  | 2010-12-24 00:22:34 | pjenvey | link | issue1681 messages |  | 2010-12-24 00:22:34 | pjenvey | create |  | 
 |