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

Jason Madden noreply at github.com
Thu Mar 5 13:06:07 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/persistent
  Commit: 1364329b79f74ece87b182547619156ffbe419cf
      https://github.com/zopefoundation/persistent/commit/1364329b79f74ece87b182547619156ffbe419cf
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-03-05 (Thu, 05 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.


  Commit: 3ff5f464aedcb3f8937bf8a96a49b45d8146d136
      https://github.com/zopefoundation/persistent/commit/3ff5f464aedcb3f8937bf8a96a49b45d8146d136
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-03-05 (Thu, 05 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:
  -----------
  Merge pull request #134 from zopefoundation/issue133

Use ffi.gc() on the ring nodes to avoid needing a weakref to PersistentPy


Compare: https://github.com/zopefoundation/persistent/compare/bac5a48b3e97...3ff5f464aedc


More information about the checkins mailing list