Antoine Pitrou <pit...@free.fr> added the comment:

> You don't, but use of assert statements seems a hell of a lot more Pythonic
> to me than all the assert* or fail* method names which I can never remember.

Two problems:
1. they are optimized away in "-Oxxx" mode
2. they don't provide good reporting in case of failure

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2578>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to