Suggestion About Python Syntax

I love the Python scripting language, but there’s something that would make it much better. Almost every other programming language uses curly braces to enclose blocks of code and semicolons after the lines of code. That means that: 1. You can have as much white space as you want. 2. You don’t need to worry about indentation, and you can indent whenever you want. I hope that you consider these issues and fix them in Python 4 (if you ever make it). Sincerely, Anthony, age 10. -- mm m # ## m mm mm#mm # mm mmm m mm m m # # #" # # #" # #" "# #" # "m m" #mm# # # # # # # # # # #m# # # # # "mm # # "#m#" # # "# m" ""

That is covered. Try typing "from __future__ import braces". On Wed, 3 Mar 2021 at 14:47, Anthony Farino <anthonyf@pacemschool.org> wrote:
I love the Python scripting language, but there’s something that would make it much better. Almost every other programming language uses curly braces to enclose blocks of code and semicolons after the lines of code. That means that:
1.
You can have as much white space as you want. 2.
You don’t need to worry about indentation, and you can indent whenever you want.
I hope that you consider these issues and fix them in Python 4 (if you ever make it).
Sincerely, Anthony, age 10.
-- mm m # ## m mm mm#mm # mm mmm m mm m m # # #" # # #" # #" "# #" # "m m" #mm# # # # # # # # # # #m# # # # # "mm # # "#m#" # # "# m" "" _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@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/RZR2O3Y6... Code of Conduct: http://python.org/psf/codeofconduct/

Hello Anthony, Welcome to this list. :) Python is written in C, and developers use semicolons and branches in C. However, when Guido designed Python, he specifically wanted white-space indented language. The idea was it will be less intimidating to beginners and more readables. It seems to have been a great decision and as the design is still going strong and is unlikely to change in future. On Wed, Mar 3, 2021 at 9:48 AM Anthony Farino <anthonyf@pacemschool.org> wrote:
I love the Python scripting language, but there’s something that would make it much better. Almost every other programming language uses curly braces to enclose blocks of code and semicolons after the lines of code. That means that:
You can have as much white space as you want.
You don’t need to worry about indentation, and you can indent whenever you want.
I hope that you consider these issues and fix them in Python 4 (if you ever make it).
Sincerely, Anthony, age 10.
-- mm m # ## m mm mm#mm # mm mmm m mm m m # # #" # # #" # #" "# #" # "m m" #mm# # # # # # # # # # #m# # # # # "mm # # "#m#" # # "# m" "" _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@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/RZR2O3Y6... Code of Conduct: http://python.org/psf/codeofconduct/

Hi Anthony, The python-dev mailing list is used for discussion between the python core developers. I'll forward your suggestion to the python-ideas mailing list, where many interesting ideas for python are discussed: https://mail.python.org/archives/list/python-ideas@python.org/ Best, George On Wed, Mar 3, 2021 at 5:52 PM Anthony Farino <anthonyf@pacemschool.org> wrote:
I love the Python scripting language, but there’s something that would make it much better. Almost every other programming language uses curly braces to enclose blocks of code and semicolons after the lines of code. That means that:
1.
You can have as much white space as you want. 2.
You don’t need to worry about indentation, and you can indent whenever you want.
I hope that you consider these issues and fix them in Python 4 (if you ever make it).
Sincerely, Anthony, age 10.
-- mm m # ## m mm mm#mm # mm mmm m mm m m # # #" # # #" # #" "# #" # "m m" #mm# # # # # # # # # # #m# # # # # "mm # # "#m#" # # "# m" "" _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@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/RZR2O3Y6... Code of Conduct: http://python.org/psf/codeofconduct/
participants (4)
-
Anthony Farino
-
George Harding
-
Joao S. O. Bueno
-
Senthil Kumaran