[Python-ideas] Making assert raise a different exception type

Oleg Broytman phd at phd.pp.ru
Fri Oct 16 19:03:38 CEST 2009

On Fri, Oct 16, 2009 at 09:52:49AM -0700, Guido van Rossum wrote:
> if not some_false_condition:

if __debug__ and not some_false_condition...

     Oleg Broytman            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-ideas mailing list