Axiom finalization cache does not work on PyPy

Bug #829879 reported by Tristan Seligmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Divmod Axiom
Fix Released
Undecided
Unassigned

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.

Related branches

Changed in divmod-axiom:
status: New → Fix Committed
Changed in divmod-axiom:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.