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 nikratio
Recipients arigo, ethan.furman, nikratio, rhettinger
Date 2013-10-30.18:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383158518.74.0.530749859751.issue19414@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2013-10-30 18:41:58nikratiosetrecipients: + nikratio, arigo, rhettinger, ethan.furman
2013-10-30 18:41:58nikratiosetmessageid: <1383158518.74.0.530749859751.issue19414@psf.upfronthosting.co.za>
2013-10-30 18:41:58nikratiolinkissue19414 messages
2013-10-30 18:41:58nikratiocreate