diff --git a/CHANGES.md b/CHANGES.md index b842707a1..19b0e0823 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,13 @@ +0.4.1 +===== + +- Fixed a crash when pickling dynamic classes whose `__dict__` attribute was + defined as a [`property`](https://docs.python.org/3/library/functions.html#property). + Most notably, this affected dynamic [namedtuples](https://docs.python.org/2/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields) + in Python 2. (https://github.com/cloudpipe/cloudpickle/pull/113) +- Cloudpickle now preserves the `__module__` attribute of functions (https://github.com/cloudpipe/cloudpickle/pull/118/). +- Fixed a crash when pickling modules that don't have a `__package__` attribute (https://github.com/cloudpipe/cloudpickle/pull/116). + 0.4.0 ===== diff --git a/cloudpickle/__init__.py b/cloudpickle/__init__.py index 0cbfd9e49..357c1317c 100644 --- a/cloudpickle/__init__.py +++ b/cloudpickle/__init__.py @@ -2,4 +2,4 @@ from cloudpickle.cloudpickle import * -__version__ = '0.4.0' +__version__ = '0.4.1' diff --git a/setup.py b/setup.py index 8987560a5..7a7f53ee8 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ dist = setup( name='cloudpickle', - version='0.4.0', + version='0.4.1', description='Extended pickling support for Python objects', author='Cloudpipe', author_email='cloudpipe@googlegroups.com',