Re: Proposal: Add "level" argument to assert()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Proposal: Add "level" argument to assert()
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 9 Apr 2011 14:31:15 -0300
> it reports the error as being caused by the call to assert() itself,
> when the actual problem is at the point loadFile() was called with an
> invalid path.
I don't see this as a problem. Having the traceback show assert is
a good thing in this case because it shows that an assertion failed.