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 Michael Crouch
Recipients Michael Crouch
Date 2016-03-14.11:19:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457954340.57.0.630883947605.issue26557@psf.upfronthosting.co.za>
In-reply-to
Content
Shelve types in Python 2.7 don't implement the 'viewkeys', 'viewvalues', and 'viewitems' methods.

Section 11.4 of the Python Standard Library documentation says that "Shelf objects support all methods supported by dictionaries." If those methods can't be added to shelves, the documentation should be clarified.

The use case for this was that I wanted an iterator on a shelf that didn't try to materialize the entire list (since the shelf is very large and I'd prefer to leave most of it on disk).
History
Date User Action Args
2016-03-14 11:19:00Michael Crouchsetrecipients: + Michael Crouch
2016-03-14 11:19:00Michael Crouchsetmessageid: <1457954340.57.0.630883947605.issue26557@psf.upfronthosting.co.za>
2016-03-14 11:19:00Michael Crouchlinkissue26557 messages
2016-03-14 11:19:00Michael Crouchcreate