Barry A. Warsaw added the comment: On Sep 4, 2017, at 10:18, Serhiy Storchaka <rep...@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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31337> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com