This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Dominik V., rhettinger, serhiy.storchaka
Date 2021-03-09.09:49:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615283379.15.0.190346926309.issue43443@roundup.psfhosted.org>
In-reply-to
Content
The comment is outdated. Shelf objects also do not support methods copy and fromkey. Creating a new Shelve object without specifying a new underlying database object does not make much sense.

Maybe say that they implement the MutableMapping interface?

>>> sorted(set(dir(dict)) - set(dir(shelve.Shelf)))
['__ior__', '__or__', '__ror__', 'copy', 'fromkeys']
>>> sorted(set(dir(collections.abc.MutableMapping)) - set(dir(shelve.Shelf)))
[]
History
Date User Action Args
2021-03-09 09:49:39serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, Dominik V.
2021-03-09 09:49:39serhiy.storchakasetmessageid: <1615283379.15.0.190346926309.issue43443@roundup.psfhosted.org>
2021-03-09 09:49:39serhiy.storchakalinkissue43443 messages
2021-03-09 09:49:38serhiy.storchakacreate