New submission from Marco Castelluccio <mcastelluc...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42071>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to