Message4566
In Python code, create some Java objects (eg java.awt.Color). Place them
in a python list.
Pass this list as a parameter to a method of a Java object (as a
java.util.list), which iterates over the contents of the list, using an
iterator obtained from the iterator() method.
The objects received by the Java code are not unwrapped; you get
PyObjectDerived instances.
Problem:
The PyList.iterator() method returns an iterator obtained from the
underlying list. This is different from the implementation of
PyList.listIterator() which wraps the underlying iterator so that value
objects are wrapped and unwrapped as appropriate. |
|
Date |
User |
Action |
Args |
2009-04-22 12:30:55 | MrMeanie | set | recipients:
+ MrMeanie |
2009-04-22 12:30:55 | MrMeanie | set | messageid: <1240403455.16.0.952212485984.issue1323@psf.upfronthosting.co.za> |
2009-04-22 12:30:55 | MrMeanie | link | issue1323 messages |
2009-04-22 12:30:54 | MrMeanie | create | |
|