Persistent

Latest version: v6.1

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

Scan your dependencies

Page 5 of 8

4.2.4.2

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

- Packaging-only release: fix Python 2.7 ``manylinux`` wheels.

4.2.4.1

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

- Packaging-only release: get ``manylinux`` wheel built automatically.

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.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.