Issue42071
Created on 2020-10-18 18:58 by marco-c, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 22751 | open | marco-c, 2020-10-18 19:01 | |
| Messages (3) | |||
|---|---|---|---|
| msg378885 - (view) | Author: Marco Castelluccio (marco-c) * | Date: 2020-10-18 18:58 | |
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. |
|||
| msg378887 - (view) | Author: Zackery Spytz (ZackerySpytz) * ![]() |
Date: 2020-10-18 19:08 | |
Unfortunately, this is a duplicate of bpo-34204 (which already has a pull request). |
|||
| msg378888 - (view) | Author: Raymond Hettinger (rhettinger) * ![]() |
Date: 2020-10-18 19:10 | |
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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:36 | admin | set | github: 86237 |
| 2020-10-18 19:10:43 | rhettinger | set | nosy:
+ rhettinger messages: + msg378888 |
| 2020-10-18 19:08:59 | ZackerySpytz | set | status: open -> closed superseder: Bump the default pickle protocol in shelve messages:
+ msg378887 |
| 2020-10-18 19:01:44 | marco-c | set | keywords:
+ patch stage: patch review pull_requests: + pull_request21713 |
| 2020-10-18 18:58:45 | marco-c | create | |

