[Checkins] [zopefoundation/persistent] 15e982: Use ffi.gc() on the ring nodes to avoid needing a ...

Jason Madden noreply at github.com
Wed Mar 4 15:49:33 CET 2020


  Branch: refs/heads/issue133
  Home:   https://github.com/zopefoundation/persistent
  Commit: 15e9821f7b6a646ce54a64cd490f2590f9e2ca7e
      https://github.com/zopefoundation/persistent/commit/15e9821f7b6a646ce54a64cd490f2590f9e2ca7e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M CHANGES.rst
    M persistent/_ring_build.py
    M persistent/cPersistence.h
    M persistent/persistence.py
    M persistent/picklecache.py
    M persistent/ring.c
    M persistent/ring.h
    M persistent/ring.py
    M persistent/tests/test_persistence.py
    M persistent/tests/test_picklecache.py
    M persistent/tests/test_ring.py
    M persistent/tests/utils.py

  Log Message:
  -----------
  Use ffi.gc() on the ring nodes to avoid needing a weakref to Persistent objects.

Except on PyPy, where we can already weakref them automatically.

Fixes #133.




More information about the checkins mailing list