[issue31992] Make iteration over dict_items yield namedtuples

Eric V. Smith report at bugs.python.org
Thu Nov 9 16:36:34 EST 2017


Eric V. Smith <eric at trueblade.com> added the comment:

I cannot imagine this ever happening, for performance reasons.

You should write your own wrapper around items, if you want this behavior.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31992>
_______________________________________


More information about the Python-bugs-list mailing list