Christian Heimes added the comment:
Please rewrite the patch to use if / else if / else, e.g.
if (cur & (DEF_LOCAL | USE | DEF_ANNOT)) {
...
if (cur & USE) {
msg = GLOBAL_AFTER_USE;
} else if (cur & DEF_LOCAL) {
msg = GLOBAL_AFTER_ASSIGN;
} else { /* DEF_ANNOT */
msg = GLOBAL_ANNOT;
}
...
}
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com