[issue42071] Shelve should default to the default Pickle protocol instead of hardcoding version 3

2020-10-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: This seems reasonable to me. There might be some issue is existing code where different versions of Python are sharing the same shelf, but I don't think this is common. -- nosy: +rhettinger ___ Python tracker

[issue42071] Shelve should default to the default Pickle protocol instead of hardcoding version 3

2020-10-18 Thread Zackery Spytz
Zackery Spytz added the comment: Unfortunately, this is a duplicate of bpo-34204 (which already has a pull request). -- nosy: +ZackerySpytz resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Bump the default pickle protocol in shelve

[issue42071] Shelve should default to the default Pickle protocol instead of hardcoding version 3

2020-10-18 Thread Marco Castelluccio
Change by Marco Castelluccio : -- keywords: +patch pull_requests: +21713 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22751 ___ Python tracker

[issue42071] Shelve should default to the default Pickle protocol instead of hardcoding version 3

2020-10-18 Thread Marco Castelluccio
New submission from Marco Castelluccio : 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