[Python-Dev] the role of assert in the standard library ? (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Fri Apr 29 06:24:38 CEST 2011


Tarek Ziadé writes:

On Thu, Apr 28, 2011 at 5:26 PM, Barry Warsaw <barry at python.org> wrote:

BTW, I think it always helps to have a really good assert message, and/or a leading comment to explain why that condition can't possibly happen.

why bother, it can't happen ;)

Except before breakfast, says the Red Queen.



More information about the Python-Dev mailing list