On Thu, 09 Jul 2009 04:57:15 -0300, Gabriel Genellina wrote:

> Nobody says you shouldn't check your data. Only that "assert" is not the  
> right way to do that.

"assert" is not the right way to check your *inputs*. It's a perfectly
reasonable way to check data which "should" be valid, as well as a way to
document what variables are supposed to contain.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to