Message194228
If the iterator for 'self' were de-structive, if it removed (popped) the test from whatever structure holds it before yielding it, the messiness of enumerate and the new ._removeTestAtIndex method would not be needed and 'for test in self' would work as desired. If considered necessary, new method .pop_iter, used in 'for test in self.pop_iter', would make it obvious that the iteration empties the collection. |
|
| Date |
User |
Action |
Args |
| 2013-08-03 01:56:20 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, rhettinger, exarkun, fabioz, benjamin.peterson, ezio.melotti, michael.foord, tomwardill |
| 2013-08-03 01:56:20 | terry.reedy | set | messageid: <[email protected]> |
| 2013-08-03 01:56:20 | terry.reedy | link | issue11798 messages |
| 2013-08-03 01:56:19 | terry.reedy | create | |
|