Author: Laurence Tratt <lau...@tratt.net>
Branch: all_ordered_dicts
Changeset: r74956:91b77ba66c70
Date: 2014-12-16 14:48 +0000
http://bitbucket.org/pypy/pypy/changeset/91b77ba66c70/

Log:    Make all dictionaries be ordered by default.

        This could be done in a less ugly way in the long term.

diff --git a/rpython/annotator/model.py b/rpython/annotator/model.py
--- a/rpython/annotator/model.py
+++ b/rpython/annotator/model.py
@@ -389,6 +389,8 @@
         assert isinstance(dct2, SomeOrderedDict), "OrderedDict.update(dict) 
not allowed"
         dct1.dictdef.union(dct2.dictdef)
 
+SomeDict=SomeOrderedDict
+
 
 class SomeIterator(SomeObject):
     "Stands for an iterator returning objects from a given container."
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to