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.16:32:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383150739.17.0.730645040969.issue19414@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that OrderedDict is more a dict than a list, but it is not clear to me why this means that it cannot extend a dict's functionality in that respect.

OrderedDict already adds functionality to dict (preserving the order), so why shouldn't it also allow changes during iteration?

I think these two things actually come together quite naturally, since it is the existence of an ordering that makes the behavior under changes during iteration well defined.


Is there really a danger that people will get confused because a previously undefined operation now becomes officially supported with a defined meaning?
History
Date User Action Args
2013-10-30 16:32:19nikratiosetrecipients: + nikratio, arigo, rhettinger, ethan.furman
2013-10-30 16:32:19nikratiosetmessageid: <1383150739.17.0.730645040969.issue19414@psf.upfronthosting.co.za>
2013-10-30 16:32:19nikratiolinkissue19414 messages
2013-10-30 16:32:18nikratiocreate