Assertions are bad, m'kay?

Chris Angelico rosuav at
Fri Mar 7 08:16:55 CET 2014

They produce the wrong exception type, they disappear when you least
expect them, and now we have another reason not to use assert.

Abusing assert for arg checking violates XKCD 1339. Write
standards-compliant code!


More information about the Python-list mailing list