Here's the error message that JPython now raises. Traceback (innermost last): File "/tmp/test.py", line 2, in ? TypeError: apply() 3rd argument must be a dictionary with string keys