Hi, > ValueError derives from ArithmeticError, so if anybody wrote > > try: something... > except ArithmeticError: > .. > > and you change the ArithmeticError to ValueError, then their code will > still work fine. > So I think the impact of making this change isn't too bad.
Great !!! Sorry I'm too new to python/sage to even realize that this can be possible... Err ??? Actually, are you sure ? Does the following not tells the contrary ? sage: ArithmeticError.mro() [<type 'exceptions.ArithmeticError'>, <type 'exceptions.StandardError'>, <type 'exceptions.Exception'>, <type 'exceptions.BaseException'>, <type 'object'>] sage: ValueError.mro() [<type 'exceptions.ValueError'>, <type 'exceptions.StandardError'>, <type 'exceptions.Exception'>, <type 'exceptions.BaseException'>, <type 'object'>] Cheers, Florent --~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---