Message1210
Logged In: YES
user_id=1580846
Clearly, the iterator returned for the 'for' loop is never
resetted where it should be. One can force a new iterator
to be created by using the following (unelegant) work around:
atom 17:30:00 ~> jython
fJython 2.1 on java1.5.0_07 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>>from java.util import HashSet
>>> set = HashSet()
>>> set.add(1)
1
>>> for i in set.iterator():
... print i
...
1
>>> for u in set.iterator():
... print u
...
1
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:32 | admin | link | issue1544224 messages |
2008-02-20 17:17:32 | admin | create | |
|