On 2020-07-16 19:05, Richard Damon wrote:
On Jul 16, 2020, at 1:36 PM, Chris Angelico <ros...@gmail.com> wrote:
On Fri, Jul 17, 2020 at 3:25 AM Federico Salerno <salerno...@gmail.com> wrote:
Tools should adapt to the language, not the other way around. If things had to
be done the way they had always been done, without any change, for fear of
people not being used to it, we wouldn't even have Python at all. People learn
and adapt. It seems like a small price to pay in exchange for consistency and
removal of ambiguity, considering people will still have to learn the new
feature one way or another.
But consistency is exactly what you'd be destroying here. Python is
extremely consistent in that you ALWAYS indent after a line ends with
a colon, and what comes after it is logically contained within that
statement. It's about whether *people* can handle it, more than
whether tools can, and the consistency helps a lot with that.
ChrisA
One question that comes to mind, does match NEED a colon at the end of it? If
it didn’t have the colon, it wouldn’t need the indent for the following lines.
All of the others have the colon.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/Z63GPE46RPULXJRIFVOBF4DDM3BCKD5B/
Code of Conduct: http://python.org/psf/codeofconduct/