Persistent

Latest version: v5.2

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

Scan your dependencies

Page 6 of 7

4.1.0

==================

- Make the Python implementation of ``Persistent`` and ``PickleCache``
behave more similarly to the C implementation. In particular, the
Python version can now run the complete ZODB and ZEO test suites.

- Fix the hashcode of the Python ``TimeStamp`` on 32-bit platforms.

4.0.9

==================

- Make the C and Python ``TimeStamp`` objects behave more alike. The
Python version now produces the same ``repr`` and ``.raw()`` output as
the C version, and has the same hashcode. In addition, the Python
version is now supports ordering and equality like the C version.

- Intern keys of object state in ``__setstate__`` to reduce memory usage
when unpickling multiple objects with the same attributes.

- Add support for PyPy3.

- 100% branch coverage.

4.0.8

==================

- Add support for Python 3.4.

- In pure-Python ``Persistent``, avoid loading state in ``_p_activate``
for non-ghost objects (which could corrupt their state). (PR 9)

- In pure-Python, and don't throw ``POSKeyError`` if ``_p_activate`` is
called on an object that has never been committed. (PR 9)

- In pure-Python ``Persistent``, avoid calling a subclass's ``__setattr__``
at instance creation time. (PR 8)

- Make it possible to delete ``_p_jar`` / ``_p_oid`` of a pure-Python
``Persistent`` object which has been removed from the jar's cache
(fixes aborting a ZODB Connection that has added objects). (PR 7)

4.0.7

==================

- Avoid a KeyError from ``_p_accessed()`` on newly-created objects under
pure-Python: these objects may be assigned to a jar, but not yet added
to its cache. (PR 6)

- Avoid a failure in ``Persistent.__setstate__`` when the state dict
contains exactly two keys. (PR 5)

- Fix a hang in ``picklecache`` invalidation if OIDs are manually passed
out-of-order. (PR 4)

- Add ``PURE_PYTHON`` environment variable support: if set, the C
extensions will not be built, imported, or tested.

4.0.6

==================

- Updated Trove classifiers.

4.0.5

==================

- Fixed the C-extensions under Py3k (previously they compiled but were
not importable).

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.