Message261744
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). |
|
Date |
User |
Action |
Args |
2016-03-14 11:19:00 | Michael Crouch | set | recipients:
+ Michael Crouch |
2016-03-14 11:19:00 | Michael Crouch | set | messageid: <1457954340.57.0.630883947605.issue26557@psf.upfronthosting.co.za> |
2016-03-14 11:19:00 | Michael Crouch | link | issue26557 messages |
2016-03-14 11:19:00 | Michael Crouch | create | |
|