Ah, shoot; I had forgotten but there is currently a shortcoming with cached methods which make them rather incompatible with super calls in subclasses:
class A(object): @cached_method def f(self): print "I am A.f" class B(A): def f(self): super(B, self).f() print "I am B.f" So far so good: sage: b = B() sage: b.f() I am A.f I am B.f Gasp: sage: b.f() I am A.f sage: b.f() I am A.f Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.