Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Sorry, I don't think this proposal has a chance. Python doesn't require statement terminators like ";" in C. Accordingly, it needs to have a clean and consistent rule to close a statement. The rule that has worked well for us it that a statement is terminated by a newline unless there is a line continuation character, or a colon to begin a new suite, or an open expression delimiter (parenthesis, square bracket or curly brace). Adding a special case exception to the rule might look nice but would complicate learning the language, and it would complicate the implementation as well. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com