mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
bpo-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639)
Use pickle.DEFAULT_PROTOCOL (currently 5) in shelve instead of a hardcoded 3.
This commit is contained in:
parent
4173320920
commit
df59273c7a
5 changed files with 29 additions and 8 deletions
|
|
@ -210,6 +210,13 @@ py_compile
|
|||
Added ``--quiet`` option to command-line interface of :mod:`py_compile`.
|
||||
(Contributed by Gregory Schevchenko in :issue:`38731`.)
|
||||
|
||||
shelve
|
||||
------
|
||||
|
||||
The :mod:`shelve` module now uses :data:`pickle.DEFAULT_PROTOCOL` by default
|
||||
instead of :mod:`pickle` protocol ``3`` when creating shelves.
|
||||
(Contributed by Zackery Spytz in :issue:`34204`.)
|
||||
|
||||
sys
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue