mirror of
https://github.com/python/cpython.git
synced 2025-07-25 04:04:13 +00:00
bpo-37209: Add pickle entry for 3.8 whatsnew (GH-14503) (GH-14512)
(cherry picked from commit ec6c1bd049
)
Co-authored-by: Pierre Glaser <pierreglaser@msn.com>
This commit is contained in:
parent
be5bb52f5f
commit
e224d2865a
1 changed files with 14 additions and 0 deletions
|
@ -622,6 +622,20 @@ to a path.
|
||||||
(Contributed by Joannah Nanjekye in :issue:`26978`)
|
(Contributed by Joannah Nanjekye in :issue:`26978`)
|
||||||
|
|
||||||
|
|
||||||
|
pickle
|
||||||
|
------
|
||||||
|
|
||||||
|
Reduction methods can now include a 6th item in the tuple they return. This
|
||||||
|
item should specify a custom state-setting method that's called instead of the
|
||||||
|
regular ``__setstate__`` method.
|
||||||
|
(Contributed by Pierre Glaser and Olivier Grisel in :issue:`35900`)
|
||||||
|
|
||||||
|
:mod:`pickle` extensions subclassing the C-optimized :class:`~pickle.Pickler`
|
||||||
|
can now override the pickling logic of functions and classes by defining the
|
||||||
|
special :meth:`~pickle.Pickler.reducer_override` method.
|
||||||
|
(Contributed by Pierre Glaser and Olivier Grisel in :issue:`35900`)
|
||||||
|
|
||||||
|
|
||||||
plistlib
|
plistlib
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue