Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

On PR 5586 we discussed reverting the order of the iteration by mappings. There 
are reasons of doing this. But this adds a subtle behavior change. Currently 
list(ChainMap({1: int}, {1.0: float})) returns [1]. With reversed() it will 
return [1.0]. This change LGTM.

----------

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

Reply via email to