Agreed. 

There is a temptation to use assert instead of "if ... raise 
Exception(msg)" since its shorter and you don't have to write a good error 
message. But then, that is exactly what is wrong with it: Instead of 
getting an error that'll point the user to what went wrong, there is just 
AssertionError: you are out of luck.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
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.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to