[New-bugs-announce] [issue43443] Should shelve support dict union?
Dominik Vilsmeier
report at bugs.python.org
Tue Mar 9 03:46:35 EST 2021
New submission from Dominik Vilsmeier <dominik.vilsmeier1123 at gmail.com>:
The docs of shelve mention that
> Shelf objects support all methods supported by dictionaries. This eases the transition from dictionary based scripts to those requiring persistent storage.
However the `|=` operator is not implemented, preventing a seamless transition from `dict` to `shelve`. So should this be implemented for `Shelf` as well? `|` on the other hand doesn't make much sense.
Otherwise the docs could be updated.
----------
components: Library (Lib)
messages: 388335
nosy: Dominik V.
priority: normal
severity: normal
status: open
title: Should shelve support dict union?
type: behavior
versions: Python 3.10, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43443>
_______________________________________
More information about the New-bugs-announce
mailing list