New submission from Dominik Vilsmeier <dominik.vilsmeier1...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43443>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to