classification
Title: Shelve pickle version error
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Sander Steffann, berker.peksag, docs@python, python-dev
Priority: normal Keywords:

Created on 2016-07-01 09:17 by Sander Steffann, last changed 2016-07-01 09:33 by berker.peksag. This issue is now closed.

Messages (3)
msg269652 - (view) Author: Sander Steffann (Sander Steffann) Date: 2016-07-01 09:17
The "class shelve.Shelf(dict, protocol=None, writeback=False, keyencoding='utf-8')" section still says "By default, version 0 pickles are used to serialize values.". This is incorrect. The default version has been 3 since this commit: 

https://hg.python.org/cpython/file/f351fb7ea179/Lib/shelve.py
msg269654 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-07-01 09:31
New changeset b2c3837f7833 by Berker Peksag in branch '3.5':
Issue #27431: Update default protocol version in shelve.Shelf() documentation
https://hg.python.org/cpython/rev/b2c3837f7833

New changeset 908b801f8a62 by Berker Peksag in branch 'default':
Issue #27431: Merge from 3.5
https://hg.python.org/cpython/rev/908b801f8a62
msg269655 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-07-01 09:33
Good catch, thanks for the report! 3.2, 3.3 and 3.4 are now in security-fix-only so their docs won't be updated.
History
Date User Action Args
2016-07-01 09:33:34berker.peksagsetstatus: open -> closed

type: enhancement -> behavior
versions: - Python 3.2, Python 3.3, Python 3.4
nosy: + berker.peksag

messages: + msg269655
resolution: fixed
stage: resolved
2016-07-01 09:31:30python-devsetnosy: + python-dev
messages: + msg269654
2016-07-01 09:17:42Sander Steffanncreate