[issue31337] Small opportunity for NULL dereference in compile.c

Barry A. Warsaw report at bugs.python.org
Mon Sep 4 14:06:56 EDT 2017


Barry A. Warsaw added the comment:

On Sep 4, 2017, at 10:18, Serhiy Storchaka <report at 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 <report at bugs.python.org>
<http://bugs.python.org/issue31337>
_______________________________________


More information about the Python-bugs-list mailing list