Skip to content

Commit

Permalink
bpo-37209: Add pickle entry for 3.8 whatsnew (pythonGH-14503)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreglaser authored and pitrou committed Jul 1, 2019
1 parent 72cd653 commit ec6c1bd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Doc/whatsnew/3.8.rst
Expand Up @@ -625,6 +625,20 @@ to a path.
(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
--------

Expand Down

0 comments on commit ec6c1bd

Please sign in to comment.