Thomi Richards added the comment:

Attached is a patch that adds documentation to `shelve.rst` explicitly stating 
that it does not support the viewkeys, viewvalues, and viewitems methods. 

I think this is the correct approach since it doesn't seems sensible to add 
support for these methods to UserDict, *and* also it might give users the 
impression that they can incrementally iterate over a shelved object without 
loading it all (which I believe is incorrect).

----------
keywords: +patch
nosy: +thomir
Added file: http://bugs.python.org/file44578/issue26557_shelve.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26557>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to