Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: I concur with Georg. In writing compilers, it is often convenient to allow the grammar to be permissive and save the enforcement of additional syntax restrictions for the downstream semantic analysis phase. For example, the C language grammar specifies the "break" statement in much the same way as Python does: http://www.quut.com/c/ANSI-C-grammar-y.html Thank you for the suggestion, but I'm going to mark this as declined. ---------- nosy: +rhettinger resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42284> _______________________________________