r0g wrote:
Hopefully, what you learned is that you can't use assert() in production code to validate user data. It's fine to use it to validate program logic, because that shouldn't still need testing in production.<snip> Maybe, although I recently learned on here that one can't rely on assert statements in production code, their intended use is to aid debugging and testing really.
<snip> DaveA -- http://mail.python.org/mailman/listinfo/python-list