Skip to content

dill-0.3.6

Compare
Choose a tag to compare
@mmckerns mmckerns released this 23 Oct 22:50
· 79 commits to master since this release

dill 0.3.6 Release Notes

With dill, you can serialize almost anything in python, even an entire interpreter session. If you encounter any pickling failures, dill also has some good tools to help you discover why your object fails to pickle.

dill installs with pip:
$ pip install dill

dill requires:
- python or pypy, >=3.7

Optional requirements:
- pyreadline, >=1.7.1 (install with $ pip install dill[readline])
- objgraph, >=1.7.2 (install with $ pip install dill[graph])

dill is licensed under 3-clause BSD:

>>> import dill
>>> print (dill.license())

To cite dill:

>>> import dill
>>> print (dill.citation())

What's Changed

  • adjust save_code and _create_code for co_lnotab in PEP626 by @mmckerns in #495
  • Remove unused variable by @albertvillanova in #484
  • Lookup qualname instead of name in Python 3 by @anivegesana in #486
  • Support PyCapsule by @anivegesana in #477
  • tests: fix a test for session saving by @leogama in #492
  • Fix dill._dill submodule being saved as GLOBAL "dill._shims" "_dill" by @leogama in #490
  • Create a soft_def shim to combine move_to and Getattr by @anivegesana in #473
  • Incidental implementation specific types by @anivegesana in #472
  • Fix bug in pickling MappingProxyType in PyPy 3.7+ by @anivegesana in #506
  • Bring back old method pickling function by @anivegesana in #511
  • correct failures, registered, and succeeds by @mmckerns in #519
  • Add detailed trace mode showing saved object size and visual depth level by @leogama in #471
  • Kickstart support drop for Python < 3.7 by @leogama in #499
  • Rewrite _create_code() with Structural Pattern Matching (limited to tuples) by @leogama in #496
  • Fix tox tests so they will actually fail by @AdamWill in #524
  • Fix load_session() and restrict loading a session in a different module by @leogama in #507
  • fix dump_module() bugs and rename parameter 'main' to 'module' by @leogama in #526
  • A temporary quick fix for dataclass serialization (#500) by @anivegesana in #503
  • Move session-related code to new session module by @leogama in #530
  • Temporary quick fix for getsource() on IPython interpreter (fixes #346) by @leogama in #531
  • Fix pickling errors thrown when saving some Stdlib modules by @leogama in #529
  • Fix pickles() flagging __builtins__ as unpickleable due to the all() function by @leogama in #538
  • Use proper SPDX identifier for License by @Shortfinga in #539
  • Disable logging propagation, use current stderr as output by @leogama in #541
  • Optimize the numpy hook by @leogama in #542
  • Minor type fix by @victorcwai in #535

New Contributors

Full Changelog: dill-0.3.5.1...dill-0.3.6