On Wed, Dec 12, 2012 at 5:37 AM, Dino Viehland
<dinov@microsoft.com> wrote:
OTOH changing certain dictionaries in IronPython (such as keyword args) to be
ordered would certainly be possible. Personally I just wouldn't want to see it
be the default as that seems like unnecessary overhead when the specialized
class exists.
Which reminds me, I was going to note that one of the main gains with ordered keyword arguments, is their use in the construction of string-keyed objects where you want to be able to control the order of iteration (e.g. for serialisation or display purposes). Currently you have to go the path of something like namedtuple where you define the order of iteration in one operation, and set the values in another.