Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r73761:9ea8570f1460
Date: 2014-10-02 18:41 -0400
http://bitbucket.org/pypy/pypy/changeset/9ea8570f1460/

Log:    implement list(ordereddict) as well

diff --git a/rpython/rtyper/lltypesystem/rordereddict.py 
b/rpython/rtyper/lltypesystem/rordereddict.py
--- a/rpython/rtyper/lltypesystem/rordereddict.py
+++ b/rpython/rtyper/lltypesystem/rordereddict.py
@@ -305,6 +305,9 @@
     def rtype_method_items(self, hop):
         return self._rtype_method_kvi(hop, ll_dict_items)
 
+    def rtype_bltn_list(self, hop):
+        return self._rtype_method_kvi(hop, ll_dict_keys)
+
     def rtype_method_iterkeys(self, hop):
         hop.exception_cannot_occur()
         return DictIteratorRepr(self, "keys").newiter(hop)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to