-
-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Description
Some objects with dynamical classes use hash(self.__class__)
. Since this is not an invariant of dynamical classes bad things will happen.
One such instance is that, under some circumstances, a WeakValueDictionary remove callback is being called but cannot find the object in the dictionary since the hash changed.
Apply
- attachment: trac_14471_dynamic_class_hash.patch
- attachment: trac_14471-review.patch
- attachment: trac_14471-pdf-fix.patch
CC: @simon-king-jena @nbruin @nthiery @hivert
Component: memleak
Author: Volker Braun
Reviewer: Simon King
Merged: sage-5.12.beta0
Issue created by migration from https://trac.sagemath.org/ticket/14471