[issue26557] dictviews methods not present on shelve objects

2016-03-14 Thread Michael Crouch
New submission from Michael Crouch: 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 d

[issue21333] Document recommended exception for objects that shouldn't be pickled

2015-10-28 Thread Michael Crouch
Michael Crouch added the comment: When pickling an object fails on line 70 of copy_reg.py, a "TypeError" is raised. However, according to section 11.1.3 of the Standard Library documentation, when an unpicklable object is passed to the dump() method the "PicklingError&quo

[issue25432] isinstance documentation doesn't explain what happens when type is tuple

2015-10-17 Thread Michael Crouch
New submission from Michael Crouch: In the section on isinstance() in the Python Standard Library documentation Chapter 2 (https://docs.python.org/3.6/library/functions.html#isinstance) , it says that classinfo "may be a tuple of type objects", but it doesn't explain what the s