[issue36144] Dictionary union. (PEP 584)
Brandt Bucher
report at bugs.python.org
Sat Mar 14 15:31:31 EDT 2020
Brandt Bucher <brandtbucher at gmail.com> added the comment:
Three other MutableMappings we might want to update:
- shelve.Shelf
- weakref.WeakKeyDictionary
- weakref.WeakValueDictionary
Shelf is up in the air, since it doesn't look like it defines a copy() equivalent... I also have no experience with it. Since it's a MutableMapping subclass, (not a dict subclass), we could in theory hold off on updating this until someone asks for it, without backward compatibility issues.
I think the other two should be updated, though. I can coordinate PRs for them this week.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36144>
_______________________________________
More information about the Python-bugs-list
mailing list