Persistent

Latest version: v5.2

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

Scan your dependencies

Page 5 of 7

4.2.4

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

- Avoid raising a ``SystemError: error return without exception set``
when loading an object with slots whose jar generates an exception
(such as a ZODB ``POSKeyError``) in ``setstate``.

4.2.3

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

- Fix the hashcode of Python ``TimeStamp`` objects on 64-bit Python on
Windows. See https://github.com/zopefoundation/persistent/pull/55

- Stop calling ``gc.collect`` every time ``PickleCache.incrgc`` is called (every
transaction boundary) in pure-Python mode (PyPy). This means that
the reported size of the cache may be wrong (until the next GC), but
it is much faster. This should not have any observable effects for
user code.

- Stop clearing the dict and slots of objects added to
``PickleCache.new_ghost`` (typically these values are passed to
``__new__`` from the pickle data) in pure-Python mode (PyPy). This
matches the behaviour of the C code.

- Add support for Python 3.6.

- Fix ``__setstate__`` interning when ``state`` parameter is not a built-in dict

4.2.2

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

- Drop use of ``ctypes`` for determining maximum integer size, to increase
pure-Python compatibility. See https://github.com/zopefoundation/persistent/pull/31

- Ensure that ``__slots__`` attributes are cleared when a persistent
object is ghostified. (This excluses classes that override
``__new__``. See
https://github.com/zopefoundation/persistent/wiki/Notes_on_state_new_and_slots
if you're curious.)

4.2.1

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

- Fix the hashcode of C ``TimeStamp`` objects on 64-bit Python 3 on
Windows.

4.2.0

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

- Fixed the Python(/PYPY) implementation ``TimeStamp.timeTime`` method
to have subsecond precision.

- When testing ``PURE_PYTHON`` environments under ``tox``, avoid poisoning
the user's global wheel cache.

- Add support for Python 3.5.

- Drop support for Python 2.6 and 3.2.

4.1.1

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

- Fix manifest and re-upload to fix stray files included in 4.1.0.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.