[issue27431] Shelve pickle version error

New submission from Sander Steffann: 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 ---------- assignee: docs@python components: Documentation messages: 269652 nosy: Sander Steffann, docs@python priority: normal severity: normal status: open title: Shelve pickle version error type: enhancement versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27431> _______________________________________

Roundup Robot added the comment: 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 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27431> _______________________________________

Berker Peksag added the comment: 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. ---------- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: -Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27431> _______________________________________

Roundup Robot added the comment: 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 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27431> _______________________________________

Berker Peksag added the comment: 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. ---------- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: -Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27431> _______________________________________
participants (3)
-
Berker Peksag
-
Roundup Robot
-
Sander Steffann