Message314531
It's just the right behavior. You are modifying the list while iterating over it. It has no business of underscore.
>>> test = ['_a', 'a', '_b', 'b']
>>> for i in test: test.remove(i)
>>> test
['a', 'b'] |
|
Date |
User |
Action |
Args |
2018-03-27 15:24:21 | xiang.zhang | set | recipients:
+ xiang.zhang, yemiteliyadu |
2018-03-27 15:24:21 | xiang.zhang | set | messageid: <1522164261.92.0.467229070634.issue33157@psf.upfronthosting.co.za> |
2018-03-27 15:24:21 | xiang.zhang | link | issue33157 messages |
2018-03-27 15:24:21 | xiang.zhang | create | |
|