Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shelve pickle version error #71618

Closed
SanderSteffann mannequin opened this issue Jul 1, 2016 · 3 comments
Closed

Shelve pickle version error #71618

SanderSteffann mannequin opened this issue Jul 1, 2016 · 3 comments
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@SanderSteffann
Copy link
Mannequin

SanderSteffann mannequin commented Jul 1, 2016

BPO 27431
Nosy @berkerpeksag

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-07-01.09:33:34.179>
created_at = <Date 2016-07-01.09:17:42.895>
labels = ['type-bug', 'docs']
title = 'Shelve pickle version error'
updated_at = <Date 2016-07-01.09:33:34.176>
user = 'https://bugs.python.org/SanderSteffann'

bugs.python.org fields:

activity = <Date 2016-07-01.09:33:34.176>
actor = 'berker.peksag'
assignee = 'docs@python'
closed = True
closed_date = <Date 2016-07-01.09:33:34.179>
closer = 'berker.peksag'
components = ['Documentation']
creation = <Date 2016-07-01.09:17:42.895>
creator = 'Sander Steffann'
dependencies = []
files = []
hgrepos = []
issue_num = 27431
keywords = []
message_count = 3.0
messages = ['269652', '269654', '269655']
nosy_count = 4.0
nosy_names = ['docs@python', 'python-dev', 'berker.peksag', 'Sander Steffann']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27431'
versions = ['Python 3.5', 'Python 3.6']

@SanderSteffann
Copy link
Mannequin Author

SanderSteffann mannequin commented Jul 1, 2016

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

@SanderSteffann SanderSteffann mannequin added the type-feature A feature request or enhancement label Jul 1, 2016
@SanderSteffann SanderSteffann mannequin added the docs Documentation in the Doc dir label Jul 1, 2016
@python-dev
Copy link
Mannequin

python-dev mannequin commented Jul 1, 2016

New changeset b2c3837f7833 by Berker Peksag in branch '3.5':
Issue bpo-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 bpo-27431: Merge from 3.5
https://hg.python.org/cpython/rev/908b801f8a62

@berkerpeksag
Copy link
Member

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.

@berkerpeksag berkerpeksag added type-bug An unexpected behavior, bug, or error and removed type-feature A feature request or enhancement labels Jul 1, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant