On Nov 16, 3:05 am, Steven D'Aprano <steve +comp.lang.pyt...@pearwood.info> wrote: > > ``1/0`` is shorter. ;-) > > It is also guaranteed to run, unlike assert.
Only if they actively pass the command line switch to turn it off, which I'd assume someone intentionally using an assertion wouldn't do. -- http://mail.python.org/mailman/listinfo/python-list