[issue42487] collections.ChainMap.__iter__ calls __getitem__ on underlying maps

Raymond Hettinger report at bugs.python.org
Mon Nov 30 12:07:34 EST 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:


New changeset cf22aa3bc698847459a6bf20c166aa80825b810a by Miss Islington (bot) in branch '3.9':
bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534) (GH-23569)
https://github.com/python/cpython/commit/cf22aa3bc698847459a6bf20c166aa80825b810a


----------

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


More information about the Python-bugs-list mailing list