I was playing the devil's advocate in jest. There is no way this will be added to Python, for a large variety of sociological and software engineering reasons. While some of the responses may to you seem like they come from inexperienced people who have not carefully read your argument, consider that to us, your proposal appears to come from yet another person who is relatively new to Python asking for their favorite feature from language X without understanding how that feature would interact with the rest of Python.
On Tue, Dec 3, 2019 at 2:13 PM Jan Bakuwel <[email protected]> wrote: > Hi Guido, > > On 3/12/19 6:00 pm, Guido van Rossum wrote: > > To play the devil's advocate... > > Thanks :-) > > > > > (1) Using the (possible, future) PEG parser > > <https://github.com/gvanrossum/pegen/> this would be easy to add to > > the grammar, as long as it's optional. > > > > (2) It can actually help readability in some cases, especially when > > e.g. 'for' and 'if' alternate. > > > > (3) I have been known to hold a ruler against my screen to > > double-check indentation. > > It seems quite a few folks missed the most important argument, which is > that apart from the readability argument, there's also the argument that > the Python interpreter can help find issues in the code at parse time > instead of at run time (way more time intensive) as writing a "end for" > where an "end while" should be gets flagged immediately. > > cheers, > Jan > > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/TKRKWCEYN32S4YMYSCTOQN4DHWM6NQQ4/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/NHDTH6HICVMZ6ODZQKPKSZAKPAH2SX4Y/ Code of Conduct: http://python.org/psf/codeofconduct/
