◐ Shell
clean mode source ↗

Message 301234 - Python tracker

On Sep 4, 2017, at 10:18, Serhiy Storchaka <report@bugs.python.org> wrote:
> Serhiy Storchaka added the comment:
> 
> Could you please also look at other asserts? I have counted 48 occurrences of assert(0), 11 assert(0 && "message") and 2 assert(!"message"). If fix one occurrence, why not fix all others?

I think it makes sense to change them all, probably using the pattern that Stefan gave, but let’s do that in a separate issue.