Message6260
Problem:
Unfortunately I can't reproduce it outside a complex application. Basically, iterating on a set (or list obtained from that set with list(the_set)) breaks after a random number of elements retrieved (random = 0..) with TypeError: 'instance' object is not iterable.
With debug printing added, this happens in the middle of the iteration (for example, after element 5 in a 11-element list).
If I manually retrieve the_list.__iter__() and repeatedly call next() on it, I can iterate over the elements fine (until a StopIteration exception as expected at the end).
Does this ring any bell? Or could you give me pointers how to deep-debug it? I fear a simple test-case can't be easily created from current code.
Platform: Linux/Debian x86, JDK 1.6.0, both update 20 and 22 (standard binary install), jython 2.5.1 from netbeans package manager (also tested with 2.5.2rc2:7176.) |
|
Date |
User |
Action |
Args |
2010-11-23 23:35:13 | ron | set | recipients:
+ ron |
2010-11-23 23:35:13 | ron | set | messageid: <1290555313.58.0.687714010158.issue1679@psf.upfronthosting.co.za> |
2010-11-23 23:35:13 | ron | link | issue1679 messages |
2010-11-23 23:35:12 | ron | create | |
|