Message201757
The workaround is trivial, but there is no technical necessity for it, and it involves copying the entire dict into a list purely for.. what exactly? I guess I do not understand the drawback of allowing changes. What is wrong with
for key in ordered_dict:
if some_condition:
del ordered_dict[key]
to be working? Is it really just the fact that the above could does not work for regular dicts? |
|
Date |
User |
Action |
Args |
2013-10-30 18:41:58 | nikratio | set | recipients:
+ nikratio, arigo, rhettinger, ethan.furman |
2013-10-30 18:41:58 | nikratio | set | messageid: <1383158518.74.0.530749859751.issue19414@psf.upfronthosting.co.za> |
2013-10-30 18:41:58 | nikratio | link | issue19414 messages |
2013-10-30 18:41:58 | nikratio | create | |
|