Thank you for pointing out the ticket. I have been thinking about which classes of warning could be useful in a general warnings framework. Please have a look at the reworked file and the brief comment on it. Could you tell me what you think about it? There should be some follow up tickets which replace unorganized warnings (which are sometimes just print statements) by these classes. This might serve to find out which further classes must be integrated.
There is one further idea, demonstrating the advantage of this new, more fine graded warnings system. On some machines its not desirable to execute long calculations. For example on my eeePc, sitting in the train, I might occasionally type in some command, not thinking about how much time it will take. After five minutes I abort the calculation, having in a way wasted this time. I wish there would be a long calculation warning and I just add a simplefilter("error", LongCalculationWarning) to an init script.
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org