On Dec 24, 4:44 pm, Jean-Pierre Flori <jpfl...@gmail.com> wrote:

> Any reason for calling directly _refcache.__delitem__ rather than del
> _refcache ?
> Changing this solves the problem, but surely only by hiding the bug...

I'm not so sure this only hides it. If my analysis is correct then
this line is virtually the only possible culprit. Are we positive that
del A[b]
is exactly the same as
del A.__delitem__(b)
[obviously it's not!] It solves the problem for me, so I'd be tempted
to propose this as a solution.

(by the way, reading PyObject_ClearWeakRefs I think that python (of
course) does do the right thing)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to