Cloudpickle

Latest version: v3.0.0

Safety actively analyzes 641024 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

1.6.0

=====

- `cloudpickle`'s pickle.Pickler subclass (currently defined as
`cloudpickle.cloudpickle_fast.CloudPickler`) can and should now be accessed
as `cloudpickle.Pickler`. This is the only officially supported way of
accessing it.
([issue 366](https://github.com/cloudpipe/cloudpickle/issues/366))

- `cloudpickle` now supports pickling `dict_keys`, `dict_items` and
`dict_values`.
([PR 384](https://github.com/cloudpipe/cloudpickle/pull/384))

1.5.0

=====

- Fix a bug causing cloudpickle to crash when pickling dynamically created,
importable modules.
([issue 360](https://github.com/cloudpipe/cloudpickle/issues/354))

- Add optional dependency on `pickle5` to get improved performance on
Python 3.6 and 3.7.
([PR 370](https://github.com/cloudpipe/cloudpickle/pull/370))

- Internal refactoring to ease the use of `pickle5` in cloudpickle
for Python 3.6 and 3.7.
([PR 368](https://github.com/cloudpipe/cloudpickle/pull/368))

1.4.1

=====

- Fix incompatibilities between cloudpickle 1.4.0 and Python 3.5.0/1/2
introduced by the new support of cloudpickle for pickling typing constructs.
([issue 360](https://github.com/cloudpipe/cloudpickle/issues/360))

- Restore compat with loading dynamic classes pickled with cloudpickle
version 1.2.1 that would reference the `types.ClassType` attribute.
([PR 359](https://github.com/cloudpipe/cloudpickle/pull/359))

1.4.0

=====

**This version requires Python 3.5 or later**

- cloudpickle can now all pickle all constructs from the ``typing`` module
and the ``typing_extensions`` library in Python 3.5+
([PR 318](https://github.com/cloudpipe/cloudpickle/pull/318))

- Stop pickling the annotations of a dynamic class for Python < 3.6
(follow up on 276)
([issue 347](https://github.com/cloudpipe/cloudpickle/issues/347))

- Fix a bug affecting the pickling of dynamic `TypeVar` instances on Python 3.7+,
and expand the support for pickling `TypeVar` instances (dynamic or non-dynamic)
to Python 3.5-3.6 ([PR 350](https://github.com/cloudpipe/cloudpickle/pull/350))

- Add support for pickling dynamic classes subclassing `typing.Generic`
instances on Python 3.7+
([PR 351](https://github.com/cloudpipe/cloudpickle/pull/351))

1.3.0

=====

- Fix a bug affecting dynamic modules occuring with modified builtins
([issue 316](https://github.com/cloudpipe/cloudpickle/issues/316))

- Fix a bug affecting cloudpickle when non-modules objects are added into
sys.modules
([PR 326](https://github.com/cloudpipe/cloudpickle/pull/326)).

- Fix a regression in cloudpickle and python3.8 causing an error when trying to
pickle property objects.
([PR 329](https://github.com/cloudpipe/cloudpickle/pull/329)).

- Fix a bug when a thread imports a module while cloudpickle iterates
over the module list
([PR 322](https://github.com/cloudpipe/cloudpickle/pull/322)).

- Add support for out-of-band pickling (Python 3.8 and later).
https://docs.python.org/3/library/pickle.html#example
([issue 308](https://github.com/cloudpipe/cloudpickle/pull/308))

- Fix a side effect that would redefine `types.ClassTypes` as `type`
when importing cloudpickle.
([issue 337](https://github.com/cloudpipe/cloudpickle/pull/337))

- Fix a bug affecting subclasses of slotted classes.
([issue 311](https://github.com/cloudpipe/cloudpickle/issues/311))

- Dont pickle the abc cache of dynamically defined classes for Python 3.6-
(This was already the case for python3.7+)
([issue 302](https://github.com/cloudpipe/cloudpickle/issues/302))

1.2.2

=====

- Revert the change introduced in
([issue 276](https://github.com/cloudpipe/cloudpickle/pull/276))
attempting to pickle functions annotations for Python 3.4 to 3.6. It is not
possible to pickle complex typing constructs for those versions (see
[issue 193]( https://github.com/cloudpipe/cloudpickle/issues/193))

- Fix a bug affecting bound classmethod saving on Python 2.
([issue 288](https://github.com/cloudpipe/cloudpickle/issues/288))

- Add support for pickling "getset" descriptors
([issue 290](https://github.com/cloudpipe/cloudpickle/pull/290))

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.