Dill

Latest version: v0.3.8

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

Scan your dependencies

Page 1 of 5

3.1

Optional requirements:

1.7.2

Dill is licensed under 3-clause BSD:`
>>> import dill
>>> print (dill.license())
`
To cite dill:`
>>> import dill
>>> print (dill.citation())
`

0.3.8

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.8`

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
* test for qualname in get_typedef_type by mmckerns in https://github.com/uqfoundation/dill/pull/613
* drop formal support for python 3.7 by mmckerns in https://github.com/uqfoundation/dill/pull/614
* define html_theme as rtd workaround by mmckerns in https://github.com/uqfoundation/dill/pull/615
* update install doc in tests by mmckerns in https://github.com/uqfoundation/dill/pull/621
* formal support for 3.12, initial support for 3.13 by mmckerns in https://github.com/uqfoundation/dill/pull/630
* add build to rtfd config by mmckerns in https://github.com/uqfoundation/dill/pull/632
* add guard for math.log in Logger record size calculation by mmckerns in https://github.com/uqfoundation/dill/pull/637
* updated copyright for 2024 by mmckerns in https://github.com/uqfoundation/dill/pull/638
* Bump jinja2 from 3.1.1 to 3.1.3 in /docs by dependabot in https://github.com/uqfoundation/dill/pull/640
* Import submodule properly when there is an attribute of the module with the same name by kelvinburke in https://github.com/uqfoundation/dill/pull/629
* update sphinx to 6.2.1 by mmckerns in https://github.com/uqfoundation/dill/pull/641
* Bump readthedocs-sphinx-search from 0.3.1 to 0.3.2 in /docs by dependabot in https://github.com/uqfoundation/dill/pull/642
* skip BufferedRandomType on pyodide by mmckerns in https://github.com/uqfoundation/dill/pull/644

New Contributors
* kelvinburke made their first contribution in https://github.com/uqfoundation/dill/pull/629

**Full Changelog**: https://github.com/uqfoundation/dill/compare/dill-0.3.7...0.3.8

0.3.7

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
* Fix _is_builtin_module by charmoniumQ in https://github.com/uqfoundation/dill/pull/567
* minor changes from PR 554 by mmckerns in https://github.com/uqfoundation/dill/pull/573
* align LICENSE wording with BSD-3-Clause by mtelka in https://github.com/uqfoundation/dill/pull/574
* Python 3 Metaclasses [Support ABC and Enums - Part 1] by anivegesana in https://github.com/uqfoundation/dill/pull/577
* Abstract Base Classes [Support ABC and Enums - Part 2] by anivegesana in https://github.com/uqfoundation/dill/pull/580
* fix typo by uniontech-lilinjie in https://github.com/uqfoundation/dill/pull/587
* Bump requests from 2.27.1 to 2.31.0 in /docs by dependabot in https://github.com/uqfoundation/dill/pull/596
* Fixed crashed in _dill._is_builtin_module when a module's __file__ is None by miguelinux314 in https://github.com/uqfoundation/dill/pull/598
* Bump pygments from 2.11.2 to 2.15.0 in /docs by dependabot in https://github.com/uqfoundation/dill/pull/605

New Contributors
* charmoniumQ made their first contribution in https://github.com/uqfoundation/dill/pull/567
* mtelka made their first contribution in https://github.com/uqfoundation/dill/pull/574
* uniontech-lilinjie made their first contribution in https://github.com/uqfoundation/dill/pull/587
* dependabot made their first contribution in https://github.com/uqfoundation/dill/pull/596
* miguelinux314 made their first contribution in https://github.com/uqfoundation/dill/pull/598

**Full Changelog**: https://github.com/uqfoundation/dill/compare/dill-0.3.6...dill-0.3.7

0.3.6

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

New Contributors
* albertvillanova made their first contribution in https://github.com/uqfoundation/dill/pull/484
* AdamWill made their first contribution in https://github.com/uqfoundation/dill/pull/524
* Shortfinga made their first contribution in https://github.com/uqfoundation/dill/pull/539
* victorcwai made their first contribution in https://github.com/uqfoundation/dill/pull/535

**Full Changelog**: https://github.com/uqfoundation/dill/compare/dill-0.3.5.1...dill-0.3.6

0.3.5.1

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, ==2.7 or >=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())

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.