On 8/1/07, beginner <[EMAIL PROTECTED]> wrote: > On Aug 1, 12:35 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > > On 8/1/07, beginner <[EMAIL PROTECTED]> wrote: > >
<much snippage> > I see. In fact I want to whole block surrounded by __debug__ to be > optimized away in non-debug runs. If the logic of my program is > correct, the asserts are guaranteed to be true, no matter what the > input is. It is not input checking. > I inferred as much. That's why placing it in a unit or doctest is even better. -- http://mail.python.org/mailman/listinfo/python-list