Dear all,

currently, when trying to invert a non-invertible element, one of the 
following errors is raised (found using `grep -r --include=*.{py,pyx} 
--color -nH --null -e "Error(.*invertible" *`):

   - 21 ValueError('{} is not invertible')
   - 11 ZeroDivisionError("element is not invertible")
   - 10 TypeError('the A-basis is defined only when 2 is invertible')
   - 8 ArithmeticError("self must be invertible to have a multiplicative 
   order")
   - 2 RuntimeError("morphism is not invertible")
   - 2 NotImplementedError("matrix must be invertible")

Travis and I would like to propose to unify these to "ArithmeticError".  If 
nobody objects, I would prepare a PR within the next few days.

Best wishes,

Martin

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/d0637584-4908-4101-8e1b-74ec0477ff84n%40googlegroups.com.

Reply via email to