If you give the wrong number of arguments to a cached function you get a rather mystifying error message:
sage: @cached_function sage: def A(i,j): sage: return i+j sage: def B(i,j): sage: return i+j sage: A(3) Traceback (click to the left of this block for traceback) ... KeyError: 'j' But sage: B(3) Traceback (click to the left of this block for traceback) ... TypeError: B() takes exactly 2 arguments (1 given) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org