Armin Rigo added the comment:

In case of doubt, see the source code of PyPy :-)

        w_dict = space.call_function(w_type)
        for w_key in space.listview(w_keys):
            space.setitem(w_dict, w_key, w_fill)

(Seriously more compact.)  No clear there...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16345>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to