This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | serhiy.storchaka |
|---|---|
| Recipients | Arfrever, benjamin.peterson, berker.peksag, christian.heimes, pkt, serhiy.storchaka |
| Date | 2016年09月27日.08:19:00 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1474964342.41.0.243113596514.issue24098@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |