← Back to team overview

divmod-dev team mailing list archive

[Bug 829879] [NEW] Axiom finalization cache does not work on PyPy

 

Public bug reported:

`Axiom._fincache`, the code in `Store` that uses it, and the relevant
tests rely on objects being deallocated and weakref finalizers being
called at very specific times. On PyPy, these events do not occur at
quite the same times that the code expects, resulting in errors. I
believe it is possible to cope with this by adjusting the way the code
uses the cache; while items may still linger in the cache for longer
than they would have on CPython, I do not think this should cause any
application-level breakage except in application code that is doing
extremely unsupported things.

** Affects: divmod-axiom
     Importance: Undecided
         Status: New

** Branch linked: lp:~divmod-dev/divmod.org/829879-pypy-finalization-
semantics

-- 
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Divmod Axiom.
https://bugs.launchpad.net/bugs/829879

Title:
  Axiom finalization cache does not work on PyPy

Status in Divmod Axiom:
  New

Bug description:
  `Axiom._fincache`, the code in `Store` that uses it, and the relevant
  tests rely on objects being deallocated and weakref finalizers being
  called at very specific times. On PyPy, these events do not occur at
  quite the same times that the code expects, resulting in errors. I
  believe it is possible to cope with this by adjusting the way the code
  uses the cache; while items may still linger in the cache for longer
  than they would have on CPython, I do not think this should cause any
  application-level breakage except in application code that is doing
  extremely unsupported things.

To manage notifications about this bug go to:
https://bugs.launchpad.net/divmod-axiom/+bug/829879/+subscriptions


Follow ups

References