Hi! Another data point: In your example above, one has sage: 'sum' in dir(R) True sage: R.__dict__['sum'] --------------------------------------------------------------------------- KeyError Traceback (most recent call last)
/home/king/<ipython console> in <module>() KeyError: 'sum' So, introspection seems to be seriously screwed up. R has both a __getattr__ and a __dir__ method that seem to be rather generic. Is this part of the combinat/category framework? So, my uneducated guess is that R belongs to a category whose objects *should* provide a sum method, but nobody has implemented it (though "sum" sounds like there could be generic code for it as well). Cheers, Simon -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
