Skip to main content

Translucent persistent objects

Project description

persistent: automatic persistence for Python objects

This package contains a generic persistence implementation for Python. It forms the core protocol for making objects interact “transparently” with a database such as the ZODB.

Please see the Sphinx documentation (docs/index.rst) for further information.

persistent Changelog

4.0.3 (2012-11-19)

  • Fixed: In the C implimentation, an integer was compared with a pointer, with undefined results and a compiler warning.

  • Fixed: the Python implementation of the _p_estimated_size propety didn’t support deletion.

  • Simplified implementation of the _p_estimated_size property to only accept integers. A TypeError is raised if an incorrect type is provided.

4.0.2 (2012-08-27)

  • Correct initialization functions in renamed _timestamp extension.

4.0.1 (2012-08-26)

  • Worked around test failure due to overflow to long on 32-bit systems.

  • Renamed TimeStamp extension module to avoid clash with pure-Python timestamp module on case-insensitive filesystems.

    N.B: the canonical way to import the TimeStamp class is now:

    from persistent.timestamp import TimeStamp

    which will yield the class from the extension module (if available), falling back to the pure-Python reference implementation.

4.0.0 (2012-08-11)

Platform Changes

  • Added explicit support for Python 3.2 and PyPy.

    • Note that the C implementations of Persistent, PickleCache, and Timestamp are not built (yet) on these platforms.

  • Dropped support for Python < 2.6.

Testing Changes

  • 100% unit test coverage.

  • Removed all ZODB-dependent tests:

    • Rewrote some to avoid the dependency

    • Cloned the remainder into new ZODB.tests modules.

  • Refactored some doctests refactored as unittests.

  • Completed pure-Python reference implementations of ‘Persistent’, ‘PickleCache’, and ‘TimeStamp’.

  • All covered platforms tested under tox.

  • Added support for continuous integration using tox and jenkins.

  • Added setup.py dev alias (installs nose and coverage).

  • Dropped dependency on zope.testing / zope.testrunner: tests now run with setup.py test.

Documentation Changes

  • Refactored many Doctests as Sphinx documentation (snippets are exercised via ‘tox’).

  • Added setup.py docs alias (installs Sphinx and repoze.sphinx.autointerface).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

persistent-4.0.3.tar.gz (75.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

persistent-4.0.3-py2.7-win-amd64.egg (153.6 kB view details)

Uploaded Egg

persistent-4.0.3-py2.7-win32.egg (153.2 kB view details)

Uploaded Egg

persistent-4.0.3-py2.6-win-amd64.egg (153.8 kB view details)

Uploaded Egg

persistent-4.0.3-py2.6-win32.egg (153.5 kB view details)

Uploaded Egg

File details

Details for the file persistent-4.0.3.tar.gz.

File metadata

  • Download URL: persistent-4.0.3.tar.gz
  • Upload date:
  • Size: 75.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for persistent-4.0.3.tar.gz
Algorithm Hash digest
SHA256 add1706702641ab4b04fdf47ef49d793b734f76233c40a3959d05dc551081ff2
MD5 cde7869fb50cb18f06c6b46479e741a1
BLAKE2b-256 3d62fb5becc2558336b90ebd7443691f63d968898b0e0b010f33b5275d83c376

See more details on using hashes here.

File details

Details for the file persistent-4.0.3-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for persistent-4.0.3-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 c13efb52631ce579e11f24342f8cf61bdb90b12043836691c4721c8e7d84d67f
MD5 406b228e89f24e1198a3304af18cc59e
BLAKE2b-256 c871866337ea8a86292b90193467aad55d9b0c0c8830c1b390c9f55d4143f96b

See more details on using hashes here.

File details

Details for the file persistent-4.0.3-py2.7-win32.egg.

File metadata

File hashes

Hashes for persistent-4.0.3-py2.7-win32.egg
Algorithm Hash digest
SHA256 963730f53f76e7e8ce95c29dd5fe12a981f94d606472e657045b69f90e534bbf
MD5 d2ea5c83e7a45189a7ba9e276c68626d
BLAKE2b-256 3cb171aa87331676575fb3858968770d901acd9430c9e4321774fdc2bf0b5d6c

See more details on using hashes here.

File details

Details for the file persistent-4.0.3-py2.6-win-amd64.egg.

File metadata

File hashes

Hashes for persistent-4.0.3-py2.6-win-amd64.egg
Algorithm Hash digest
SHA256 6154fdcf6c6e72b9e01f8f6654c592a30dcc66139e12b34ca8fb3cd4414cc036
MD5 aef98a92cd8816c8e855226f4b6064e7
BLAKE2b-256 9f7ce4f40a35d1edeb6169fbc5a359cf3b6729f03beffb9a7d672452dc1dcd4a

See more details on using hashes here.

File details

Details for the file persistent-4.0.3-py2.6-win32.egg.

File metadata

File hashes

Hashes for persistent-4.0.3-py2.6-win32.egg
Algorithm Hash digest
SHA256 b566516878bb997c73aa49fa3a6dd367dc05b70314af9237841768e3aa3054a5
MD5 0e7c6525455b3b23150113d3a8b9f53a
BLAKE2b-256 c1ff8fa727dd0a42090e9f3c18d6b021336ef48e14575466a9ce6d080c4712f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page