Message277504
Bad things happen not only when a list shrinks, but also when it grows during iteration.
The one solution is to check if the size is changed on every iteration. The other solution is to convert a list to a tuple for iterating. |
|
| Date |
User |
Action |
Args |
| 2016-09-27 08:19:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, christian.heimes, benjamin.peterson, Arfrever, berker.peksag, pkt |
| 2016-09-27 08:19:02 | serhiy.storchaka | set | messageid: <1474964342.41.0.243113596514.issue24098@psf.upfronthosting.co.za> |
| 2016-09-27 08:19:02 | serhiy.storchaka | link | issue24098 messages |
| 2016-09-27 08:19:02 | serhiy.storchaka | create | |
|