Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
validate_expr() needs a case for NamedExpr_kind. I think also that it is better to remove the "default" clause (and move its code after the switch statement) and allow the compiler to warn about missed cases. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36332> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com