[Checkins] [zopefoundation/persistent] e2116d: Fully test the C implementation of the PickleCache

GitHub noreply at github.com
Mon Nov 12 18:05:52 CET 2018

  Branch: refs/heads/issue102
  Home:   https://github.com/zopefoundation/persistent
  Commit: e2116d984f39cfc2c8bb358f1b7252dcde7f9145
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-11-12 (Mon, 12 Nov 2018)

  Changed paths:
    M CHANGES.rst
    M persistent/__init__.py
    M persistent/cPickleCache.c
    M persistent/interfaces.py
    M persistent/picklecache.py
    M persistent/tests/test_picklecache.py

  Log Message:
  Fully test the C implementation of the PickleCache

Fix discrepancies between it and the Python implementation:

  - The C implementation now raises ``ValueError`` instead of
    ``AssertionError`` for certain types of bad inputs.
  - The Python implementation uses the C wording for error messages.
  - The C implementation properly implements ``IPickleCache``; methods
    unique to the Python implementation were moved to
  - The Python implementation raises ``AttributeError`` if a
    persistent class doesn't have a ``p_jar`` attribute.

Fixes #102

      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the checkins mailing list