I love assert
rosuav at gmail.com
Sat Nov 15 02:04:50 CET 2014
On Sat, Nov 15, 2014 at 11:12 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Most importantly, assertion failures are not supposed to be recovered
> from (within the program). Assertion failures can result in the loss of
> life and limb. They can result in database corruption. They can result
> in monetary losses. They can result in smoke coming out of the monitor.
Or, in theory, AssertionError just prevented any of the above from happening.
More information about the Python-list