Changes between Initial Version and Version 1 of Ticket #14471


Ignore:
Timestamp:
04/21/13 15:34:58 (9 years ago)
Author:
vbraun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14471 – Description

    initial v1  
    1 Under some circumstances the !WeakValueDictionary remove callback is being called when the internal dictionary is in a bad state. The attached patch to demonstrate the issue just calls `hasattr` from the displayhook, which ends up generating weak references somewhere. The exact place for where the exception occurs depends on the garbage collector, but I always do get some unwanted exceptions with it.
     1Under some circumstances the !WeakValueDictionary remove callback is being called when the internal dictionary is in a bad state. The attached patch [attachment:trac_14471_demonstrate.patch] to demonstrate the issue just calls `hasattr` from the displayhook, which ends up generating weak references somewhere. The exact place for where the exception occurs depends on the garbage collector, but I always do get some unwanted exceptions with it.
    22{{{
    33sage -t devel/sage/sage/matrix/matrix0.pyx