Message2934
This patch provides an implementation for the java.util.Map interface on the PyDictionary object. This allows passing a dictionary created in Jython to java methods. The patch provides associated wrapper classes so that the dictionary can be manipulated in java, and the changes will be reflected in Jython.
This patch applies to Trunk, It also looks like it will apply to 2.2.1 but there's a little conflict around the imports.
There patch adds two additional files:
src/org/python/core/Dict2JavaTest - for unit tests in java code (had to do this because some tests can't be run in jython).
Lib/test/test_dict2java.py - Jython unit testing script.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:18:52 | admin | link | issue1817565 messages |
2008-02-20 17:18:52 | admin | create | |
|