On 4 Jan 2021, at 12:29, Paul Sokolovsky pmiscml@gmail.com wrote:
Hello,
On Mon, 4 Jan 2021 21:47:26 +1100 Chris Angelico <rosuav@gmail.com mailto:rosuav@gmail.com> wrote:
On Mon, Jan 4, 2021 at 9:41 PM Paul Sokolovsky pmiscml@gmail.com wrote:
Hello,
There're tons of projects which introduce alternative braces (i.e. C-like) syntax for Python. Most of them are however not properly documented, and definitely not spec'ed for what they do.
I wonder, does anyone here remember more or less formal proposal for braces syntax? A "minimum viable product" criteria would be support for lossless indent -> braces -> indent syntax roundtripping.
from __future__ import braces
File "<stdin>", line 1 SyntaxError: not a chance
Old, sour, buggy implementation from previous century.
This is more a signal that you are far from the first person asking about braces in Python, and what the general opinion from the language designers is about this.
IMHO it is highly unlikely that any proposal about adding braces to Python would be accepted.
Ronald
—
Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/