[issue43443] Should shelve support dict union?

Raymond Hettinger report at bugs.python.org
Tue Mar 9 16:43:12 EST 2021


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

One other thought.  While __ior__() could be used as a short-cut for update(), the related __or__() method is more problematic because it would need to create a new underlying DB.  So maybe this is a can worms that we should not open. It would be weird to have __ior__() but not __or__().

----------

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


More information about the Python-bugs-list mailing list