[New-bugs-announce] [issue42071] Shelve should default to the default Pickle protocol instead of hardcoding version 3

Marco Castelluccio report at bugs.python.org
Sun Oct 18 14:58:45 EDT 2020


New submission from Marco Castelluccio <mcastelluccio at mozilla.com>:

Shelve is currently defaulting to Pickle protocol 3, instead of using Pickle's default protocol for the Python version in use.

This way, Shelve's users don't benefit from improvements introduced in newer Pickle protocols, unless they notice it and manually pass a newer protocol version to shelve.open or the Shelf constructor.

----------
components: Library (Lib)
messages: 378885
nosy: marco-c
priority: normal
severity: normal
status: open
title: Shelve should default to the default Pickle protocol instead of hardcoding version 3
type: enhancement
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42071>
_______________________________________


More information about the New-bugs-announce mailing list