Raymond Hettinger added the comment:

One other thought:  Returning NotImplemented may be an easy change but it isn't 
clear that it would provide a sensible capability for mapping views.  The 
non-iterable *other* argument would need to have a __ror__() method than could 
do something useful with a KeysView or ItemsView argument.  That seems like an 
improbable use case (which is why I presume this has never come up before).

----------

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

Reply via email to